Mercurial > python-cmd2
comparison example/exampleSession.test @ 254:07dff0ba981e
multiple test files
author | Catherine Devlin <catherine.devlin@gmail.com> |
---|---|
date | Wed, 01 Apr 2009 18:05:51 -0400 |
parents | example/exampleSession.txt@183dd2fffec5 |
children |
comparison
equal
deleted
inserted
replaced
253:24289178b367 | 254:07dff0ba981e |
---|---|
1 (Cmd) say put this in a file > myfile.txt | |
2 (Cmd) say < myfile.txt | |
3 put this in a file | |
4 (Cmd) # comments do nothing | |
5 (Cmd) /* C-style comments */ say are invisible | |
6 are invisible | |
7 (Cmd) orate and they do not /* interfere; | |
8 > with multiline */ commands; | |
9 and they do not commands | |
10 (Cmd) speak the /* hidden comment */ text | |
11 the text | |
12 (Cmd) speak the "unhidden quote" text | |
13 the "unhidden quote" text | |
14 (Cmd) # Quoted strings immediately following the command are NOT included in the arguments - | |
15 (Cmd) # this is due to a bug in pyparsing. See: | |
16 (Cmd) # https://sourceforge.net/tracker/index.php?func=detail&aid=2412233&group_id=97203&atid=617311 | |
17 (Cmd) # Test suite can't test changing prompts. |