diff options
Diffstat (limited to 'examples/test-examples.toml')
| -rw-r--r-- | examples/test-examples.toml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml index 68285fd..6f45048 100644 --- a/examples/test-examples.toml +++ b/examples/test-examples.toml @@ -182,3 +182,18 @@ expect.result = "" command = "greet World --repeat 1" expect.exit-code = 0 expect.result = "Hello, World!" + +[[test.example-clap-binding]] +command = "greet" +expect.exit-code = 0 +expect.result = "Hello, World!" + +[[test.example-clap-binding]] +command = "greet Alice" +expect.exit-code = 0 +expect.result = "Hello, Alice!" + +[[test.example-clap-binding]] +command = "greet Alice -r 5" +expect.exit-code = 0 +expect.result = "Hello, Alice, Alice, Alice, Alice, Alice!" |
