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.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml
index e450919..b74c9a5 100644
--- a/examples/test-examples.toml
+++ b/examples/test-examples.toml
@@ -312,3 +312,18 @@ expect.result = "Result: 1.3333334"
command = "calc 4 / 3 --round"
expect.exit-code = 0
expect.result = "Result: 1"
+
+[[test.example-command-macro]]
+command = "hello world"
+expect.exit-code = 0
+expect.result = "Hello, World"
+
+[[test.example-command-macro]]
+command = "greet-someone Alice"
+expect.exit-code = 0
+expect.result = "Hello, Alice"
+
+[[test.example-command-macro]]
+command = "goodbye"
+expect.exit-code = 0
+expect.result = "Goodbye!"