summaryrefslogtreecommitdiff
path: root/tests/transcripts
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-03 21:36:46 -0600
committerkotfu <kotfu@kotfu.net>2018-05-03 21:36:46 -0600
commitdedd045666fe7bc90e3ba5f629c6b74673ccfec6 (patch)
tree0a6a5fb5093c4bf16d8327927801a6e01bf1bf22 /tests/transcripts
parent6d2f520b5a5a7165f2406816592b01983b1feb26 (diff)
downloadcmd2-git-dedd045666fe7bc90e3ba5f629c6b74673ccfec6.tar.gz
Unit test for history transcript generation
Diffstat (limited to 'tests/transcripts')
-rw-r--r--tests/transcripts/expected_history.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/transcripts/expected_history.txt b/tests/transcripts/expected_history.txt
new file mode 100644
index 00000000..cfd1409d
--- /dev/null
+++ b/tests/transcripts/expected_history.txt
@@ -0,0 +1,18 @@
+# this file contains the expected output of a 'history -t' command.
+# Because the help command outputs trailing spaces, this file
+# contains trailing spaces. Don't mess it up with your editor
+# which may be configured to trim trailing spaces
+# The first 7 lines of this file are stripped out by the
+# test case before comparing the actual output with
+# the contents of this file.
+(Cmd) help
+
+Documented commands (type help <topic>):
+========================================
+alias help load orate pyscript say shell speak
+edit history mumble py quit set shortcuts unalias
+
+(Cmd) speak lots of wierd [ /tmp ]: chars?
+lots of wierd [ \/tmp ]: chars?
+(Cmd) speak /this is not a regex/
+\/this is not a regex\/