summaryrefslogtreecommitdiff
path: root/echo.yaml
blob: 521ca25eae18383139aa708683ef486228aff5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
- when: user runs echo without arguments
  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