summaryrefslogtreecommitdiff
path: root/tests/transcripts
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-09-14 22:43:28 -0600
committerkotfu <kotfu@kotfu.net>2018-09-14 22:43:28 -0600
commit85a21ef39467dc24a6f6f8c4f3ac656f24d6ff90 (patch)
treed95f34b463fea5574f98a206a4e8e94ad323e790 /tests/transcripts
parent49236d98a770d9604e65eb1728d2f8d68e35d493 (diff)
downloadcmd2-git-85a21ef39467dc24a6f6f8c4f3ac656f24d6ff90.tar.gz
Add transcript test for commands with no output
Diffstat (limited to 'tests/transcripts')
-rw-r--r--tests/transcripts/from_cmdloop.txt4
-rw-r--r--tests/transcripts/no_output.txt7
2 files changed, 9 insertions, 2 deletions
diff --git a/tests/transcripts/from_cmdloop.txt b/tests/transcripts/from_cmdloop.txt
index 5f22d756..e3ccbc5e 100644
--- a/tests/transcripts/from_cmdloop.txt
+++ b/tests/transcripts/from_cmdloop.txt
@@ -5,8 +5,8 @@
Documented commands (type help <topic>):
========================================
-alias help load orate pyscript say shell speak/ */
-edit history mumble py quit set shortcuts unalias/ */
+alias help load nothing py quit set shortcuts unalias/ */
+edit history mumble orate pyscript say shell speak/ */
(Cmd) help say
usage: speak [-h] [-p] [-s] [-r REPEAT]/ */
diff --git a/tests/transcripts/no_output.txt b/tests/transcripts/no_output.txt
new file mode 100644
index 00000000..d1089a39
--- /dev/null
+++ b/tests/transcripts/no_output.txt
@@ -0,0 +1,7 @@
+# ensure the transcript can play a command with no output
+
+(Cmd) say something
+something
+(Cmd) nothing
+(Cmd) say something else
+something else