diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_transcript.py | 1 | ||||
-rw-r--r-- | tests/transcripts/no_output.txt | 2 | ||||
-rw-r--r-- | tests/transcripts/no_output_last.txt | 7 |
3 files changed, 9 insertions, 1 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 9a63cf09..58ae16b4 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -103,6 +103,7 @@ def test_commands_at_invocation(): ('multiline_no_regex.txt', False), ('multiline_regex.txt', False), ('no_output.txt', False), + ('no_output_last.txt', False), ('regex_set.txt', False), ('singleslash.txt', False), ('slashes_escaped.txt', False), diff --git a/tests/transcripts/no_output.txt b/tests/transcripts/no_output.txt index d1089a39..6b84e8e7 100644 --- a/tests/transcripts/no_output.txt +++ b/tests/transcripts/no_output.txt @@ -1,4 +1,4 @@ -# ensure the transcript can play a command with no output +# ensure the transcript can play a command with no output from a command somewhere in the middle (Cmd) say something something diff --git a/tests/transcripts/no_output_last.txt b/tests/transcripts/no_output_last.txt new file mode 100644 index 00000000..c75d7e7f --- /dev/null +++ b/tests/transcripts/no_output_last.txt @@ -0,0 +1,7 @@ +# ensure the transcript can play a command with no output from the last command + +(Cmd) say something +something +(Cmd) say something else +something else +(Cmd) nothing |