summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_transcript.py1
-rw-r--r--tests/transcripts/expected_history.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 6e2b1cac..5fee1363 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -131,6 +131,7 @@ def test_history_transcript(request, capsys):
app.stdout = StdOut()
run_cmd(app, 'help')
run_cmd(app, 'orate this is\na multiline\ncommand;\n')
+ run_cmd(app, 'speak /tmp/file.txt is not a regex')
# Get location of the expected transcript
test_dir = os.path.dirname(request.module.__file__)
diff --git a/tests/transcripts/expected_history.txt b/tests/transcripts/expected_history.txt
index 55eceb81..ba2d94ce 100644
--- a/tests/transcripts/expected_history.txt
+++ b/tests/transcripts/expected_history.txt
@@ -16,3 +16,5 @@ edit history mumble py quit set shortcuts unalias
> a multiline
> command;
this is a multiline command
+(Cmd) speak /tmp/file.txt is not a regex
+\/tmp\/file.txt is not a regex