From 85a21ef39467dc24a6f6f8c4f3ac656f24d6ff90 Mon Sep 17 00:00:00 2001 From: kotfu Date: Fri, 14 Sep 2018 22:43:28 -0600 Subject: Add transcript test for commands with no output --- tests/transcripts/from_cmdloop.txt | 4 ++-- tests/transcripts/no_output.txt | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 tests/transcripts/no_output.txt (limited to 'tests/transcripts') 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 ): ======================================== -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 -- cgit v1.2.1