From d3177c386d739a3dc0e06890ad8f14713ef44ee0 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 20 Jun 2026 01:30:10 +0800 Subject: Add `group!` macro for registering external types --- 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 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 -- cgit