diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-28 09:18:17 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-28 09:18:17 +0800 |
| commit | 86bc9000c5687db6434a5d20f409dda8b1d7a43a (patch) | |
| tree | c28cb62dee7ad1a81abf9345e16b725866fbce7a /examples/test-examples.toml | |
| parent | 748c14588cf1c31c8b8d60a9c94349c0173ef607 (diff) | |
feat(docs): add Module Pathfinder example for the `pathf` feature
Diffstat (limited to 'examples/test-examples.toml')
| -rw-r--r-- | examples/test-examples.toml | 10 |
1 files changed, 10 insertions, 0 deletions
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!" |
