diff options
Diffstat (limited to 'examples/test-examples.toml')
| -rw-r--r-- | examples/test-examples.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml index 490361b..038221d 100644 --- a/examples/test-examples.toml +++ b/examples/test-examples.toml @@ -38,6 +38,11 @@ command = "hello" expect.exit-code = 1 expect.result = "No name provided (with exit code 1)" +[[test.example-exitcode]] +command = "hello --help" +expect.exit-code = 2 +expect.result = "Usage: hello <NAME>" + [[test.example-error-handling]] command = "hello" expect.exit-code = 0 |
