Skip to content

Commit 3beaa30

Browse files
committed
Modified a transcript used during testing to not run help so that it doesn't need to be changed any time the content of help changes
Now the only test which should need to change when a command is added, deleted, or renamed (which isn't specifically related to that command) is test_get_all_commands
1 parent 3292bf5 commit 3beaa30

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

tests/transcripts/from_cmdloop.txt

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# responses with trailing spaces have been matched with a regex
22
# so you can see where they are.
33

4-
(Cmd) help
5-
6-
Documented commands (type help <topic>):
7-
========================================
8-
alias history mumble py run_pyscript set speak/ */
9-
edit load nothing pyscript run_script shell/ */
10-
help macro orate quit say shortcuts/ */
11-
124
(Cmd) help say
135
usage: speak [-h] [-p] [-s] [-r REPEAT]/ */
146

@@ -36,13 +28,12 @@ OODNIGHT, GRACIEGAY
3628
OODNIGHT, GRACIEGAY
3729
OODNIGHT, GRACIEGAY
3830
(Cmd) history
39-
1 help
40-
2 help say
41-
3 say goodnight, Gracie
42-
4 say -ps --repeat=5 goodnight, Gracie
43-
5 set maxrepeats 5
44-
6 say -ps --repeat=5 goodnight, Gracie
45-
(Cmd) history -r 4
31+
1 help say
32+
2 say goodnight, Gracie
33+
3 say -ps --repeat=5 goodnight, Gracie
34+
4 set maxrepeats 5
35+
5 say -ps --repeat=5 goodnight, Gracie
36+
(Cmd) history -r 3
4637
OODNIGHT, GRACIEGAY
4738
OODNIGHT, GRACIEGAY
4839
OODNIGHT, GRACIEGAY

0 commit comments

Comments
 (0)