aboutsummaryrefslogtreecommitdiff
path: root/examples/test-examples.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-23 01:41:46 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-23 01:41:46 +0800
commitb75773a1177c6fe006bcd129b481ff42ecc3ec0e (patch)
treec3cd26047dd0051c57ed38730981b3f1dd39bf3c /examples/test-examples.toml
parentc9db14dcb7e03abe5e2c7a86f90205d0e76935cb (diff)
Add IO error example with type alias in group macro
Diffstat (limited to 'examples/test-examples.toml')
-rw-r--r--examples/test-examples.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml
index 038221d..9c25781 100644
--- a/examples/test-examples.toml
+++ b/examples/test-examples.toml
@@ -8,6 +8,11 @@ command = "parse hello"
expect.exit-code = 0
expect.result = "Parse error: invalid digit found in string"
+[[test.example-outside-type]]
+command = "error"
+expect.exit-code = 0
+expect.result = "IO_ERROR: Error"
+
[[test.example-lazy-resources]]
command = "none"
expect.exit-code = 0