From 7405a3f6faccfb856d430cfd08988c8dc35893c5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 30 Nov 2019 16:16:28 +0200 Subject: Add: sample subplot documents --- echo.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 echo.yaml (limited to 'echo.yaml') diff --git a/echo.yaml b/echo.yaml new file mode 100644 index 0000000..6937d3d --- /dev/null +++ b/echo.yaml @@ -0,0 +1,17 @@ +- when: user runs echo without arguments + function: run_echo_without_args + +- when: user runs echo with arguments (?P.+) + function: run_echo_with_args + +- then: exit code is (?P\d+) + function: exit_code_is_zero + +- then: standard output contains a newline + function: stdout_is_a_newline + +- then: standard output contains "(?P.*)" + function: stdout_is_text + +- then: standard error is empty + function: stderr_is_empty -- cgit v1.2.1