aboutsummaryrefslogtreecommitdiff
path: root/examples/test-examples.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-29 15:10:11 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-29 15:10:57 +0800
commit709b672731bcc1b68209cadc38e0de78d7c28c03 (patch)
tree0e5d8fa7b77a52b9a51ecbd5476e33f2e93274ec /examples/test-examples.toml
parentdc05173f3eafe0e782bc8824581c3819c8688782 (diff)
feat(examples): add pathf + dispatch tree combination example
Diffstat (limited to 'examples/test-examples.toml')
-rw-r--r--examples/test-examples.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml
index e1a23c2..d2fe602 100644
--- a/examples/test-examples.toml
+++ b/examples/test-examples.toml
@@ -267,3 +267,13 @@ expect.result = "Hello, World!"
command = "greet Alice"
expect.exit-code = 0
expect.result = "Hello, Alice!"
+
+[[test.example-combine-pathf-dispatch-tree]]
+command = "hello Alice"
+expect.exit-code = 0
+expect.result = "Hello, Alice!"
+
+[[test.example-combine-pathf-dispatch-tree]]
+command = "hello"
+expect.exit-code = 0
+expect.result = "Hello, World!"