From 86bc9000c5687db6434a5d20f409dda8b1d7a43a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 09:18:17 +0800 Subject: feat(docs): add Module Pathfinder example for the `pathf` feature --- examples/test-examples.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'examples/test-examples.toml') diff --git a/examples/test-examples.toml b/examples/test-examples.toml index b4cbb6d..e1a23c2 100644 --- a/examples/test-examples.toml +++ b/examples/test-examples.toml @@ -257,3 +257,13 @@ expect.result = '{"name":"error_not_dir_structural","info":"Cargo.toml"}' command = "find-structural examples --json" expect.exit-code = 0 expect.result = '{"inner":"examples"}' + +[[test.example-pathfinder]] +command = "greet" +expect.exit-code = 0 +expect.result = "Hello, World!" + +[[test.example-pathfinder]] +command = "greet Alice" +expect.exit-code = 0 +expect.result = "Hello, Alice!" -- cgit