projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352dbcb
)
More thorough match on chat mode test
author
Jeremy Stanley
<fungi@yuggoth.org>
Tue, 1 Dec 2015 01:45:58 +0000
(
01:45
+0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Tue, 1 Dec 2015 01:45:58 +0000
(
01:45
+0000)
Use a multi-line match on the chat mode functional test, to confirm
both the command feedback and prompt change are present.
bin/test
patch
|
blob
|
history
diff --git
a/bin/test
b/bin/test
index
b1b4688
..
9c57829
100755
(executable)
--- a/
bin/test
+++ b/
bin/test
@@
-89,7
+89,7
@@
test_sentence_capitalization = (
test_chat_mode = (
(1, '> ', "chat"),
- (1, '> \(chat\) ', "Feeling chatty."),
+ (1, '
(?s)Entering chat mode .*
> \(chat\) ', "Feeling chatty."),
(1, 'You say, "Feeling chatty\."', "!chat"),
(0, 'says, "Feeling chatty\."', ""),
(1, '> ', "say Now less chatty."),