diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-20 01:30:10 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-20 01:30:10 +0800 |
| commit | d3177c386d739a3dc0e06890ad8f14713ef44ee0 (patch) | |
| tree | 98193b025812ee13b1f0f0bb38e1d58fd2558f3d /examples/test-examples.toml | |
| parent | 9d491352d161ee629cc47459537344ba0ea4bb35 (diff) | |
Add `group!` macro for registering external types
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 4a50ab1..490361b 100644 --- a/examples/test-examples.toml +++ b/examples/test-examples.toml @@ -1,3 +1,13 @@ +[[test.example-outside-type]] +command = "parse 42" +expect.exit-code = 0 +expect.result = "Parsed number: 42" + +[[test.example-outside-type]] +command = "parse hello" +expect.exit-code = 0 +expect.result = "Parse error: invalid digit found in string" + [[test.example-lazy-resources]] command = "none" expect.exit-code = 0 |
