projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1780ed9
)
Test sentence capitalization
author
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 22 Aug 2015 19:36:16 +0000
(19:36 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 22 Aug 2015 19:36:16 +0000
(19:36 +0000)
Add a functional test to make sure uncapitalized actor speech gets
displayed with proper sentence capitalization.
bin/test
patch
|
blob
|
history
diff --git
a/bin/test
b/bin/test
index
e090fb7
..
76cebe0
100755
(executable)
--- a/
bin/test
+++ b/
bin/test
@@
-75,6
+75,11
@@
dialogue = (
(1, 'You say, "Well, you\'re right."', ""),
(0, 'says, "Well, you\'re right."', ""),
+ # Sentence capitalization
+ (0, "> ", "say this sentence should start with a capital T."),
+ (0, 'You say, "This sentence', ""),
+ (1, 'says, "This sentence', ""),
+
# Actor disappears
(1, "> ", "quit"),
(0, "You suddenly wonder where .* went\.", ""),