aboutsummaryrefslogtreecommitdiff
path: root/examples/test-examples.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test-examples.toml')
-rw-r--r--examples/test-examples.toml10
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