summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-04 15:32:05 -0600
committerkotfu <kotfu@kotfu.net>2018-05-04 15:32:05 -0600
commit23824e83fc835291c093738326c4d903dcc9b839 (patch)
treee59f149e377ae560cbe0d44c4d9c62381542f728 /tests
parentbf729520b88270df0a1e7b8faa79ac6784549d7b (diff)
downloadcmd2-git-23824e83fc835291c093738326c4d903dcc9b839.tar.gz
Fix transcript generate to close #385
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