From d782aae00f82bd160b0fc5c0cdac1ba27ae8ade1 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 20 Apr 2026 22:37:26 +0800 Subject: add --format --- tests/plugins/show/test.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/plugins/show/test.lua b/tests/plugins/show/test.lua index 3e360a4d6..dea98c204 100644 --- a/tests/plugins/show/test.lua +++ b/tests/plugins/show/test.lua @@ -61,7 +61,7 @@ function test_depgraph_tree(t) end function test_depgraph_dot(t) - local outdata = os.iorunv("xmake", {"show", "--info=depgraph", "--dot"}) + local outdata = os.iorunv("xmake", {"show", "--info=depgraph", "--format=dot"}) t:require(outdata:find("digraph {", 1, true)) t:require(outdata:find('"core"', 1, true)) t:require(outdata:find('"ui" -> "core"', 1, true)) @@ -73,7 +73,7 @@ function test_depgraph_dot(t) end function test_depgraph_dot_for_single_target(t) - local outdata = os.iorunv("xmake", {"show", "--info=depgraph", "--target=ui", "--dot"}) + local outdata = os.iorunv("xmake", {"show", "--info=depgraph", "--target=ui", "--format=dot"}) t:require(outdata:find("digraph {", 1, true)) t:require(outdata:find('"core"', 1, true)) t:require(outdata:find('"ui" -> "core"', 1, true)) -- cgit v1.3.1