Commit 8d998381 authored by Mathieu Giraud's avatar Mathieu Giraud

demo/commands.should: breaking change, interleaved commands should reset the tested output

Illustrates #36.
parent fcc18bb0
......@@ -8,13 +8,15 @@
echo -n "hello,"
$ The three commands ran successfully
$ The two commands ran successfully, but the third one, below, is not yet run
: message
: hello
: world
0: world
# Note that all commands are actually run before the tests
# are checked on the joined output.
# Running a command after a test resets the output buffer
echo "world"
0: message
0: hello
: world
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment