summaryrefslogtreecommitdiff
path: root/echo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'echo.yaml')
-rw-r--r--echo.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/echo.yaml b/echo.yaml
index f86159d..7be6e96 100644
--- a/echo.yaml
+++ b/echo.yaml
@@ -3,15 +3,18 @@
- when: user runs echo with arguments (?P<args>.+)
function: run_echo_with_args
+ regex: true
- then: exit code is (?P<exit_code>\d+)
function: exit_code_is
+ regex: true
- then: standard output contains a newline
function: stdout_is_a_newline
- then: standard output contains "(?P<text>.*)"
function: stdout_is_text
+ regex: true
- then: standard error is empty
function: stderr_is_empty