diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-06-01 21:52:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-06-01 21:52:44 +0300 |
commit | a53e77f157915a0ca199e65b27d049bfa7b6ae61 (patch) | |
tree | 74820926274f8d981907baaf2148ae9e67dcba66 | |
parent | 61b65a32b6fb385ca78ac0226d633581cf4866a9 (diff) | |
download | fable-poc-a53e77f157915a0ca199e65b27d049bfa7b6ae61.tar.gz |
Add: functions to call for echo steps
-rw-r--r-- | echo.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,11 @@ - when: user runs echo without arguments -- then: exit code is 0 + function: run_echo_without_args + + - then: exit code is (?P<exit_code>\d+) + function: exit_code_is_zero + - then: standard output contains a newline + function: stdout_is_a_newline + - then: standard error is empty + function: stderr_is_empty |