summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-20 22:37:26 +0800
committerruki <[email protected]>2026-04-20 22:37:26 +0800
commitd782aae00f82bd160b0fc5c0cdac1ba27ae8ade1 (patch)
tree17cfef203818daeb5ca86af19677440d4080cb3c /tests/plugins
parent35d37f98381d8486f23b7761c90acdba3fc2e9d1 (diff)
add --format
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/show/test.lua4
1 files changed, 2 insertions, 2 deletions
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))