From: Jeremy Stanley Date: Sat, 22 Aug 2015 19:36:16 +0000 (+0000) Subject: Test sentence capitalization X-Git-Tag: 0.0.1~209 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=4f56e519d6f937208ff91cf14c2e2741d9d64217 Test sentence capitalization Add a functional test to make sure uncapitalized actor speech gets displayed with proper sentence capitalization. --- diff --git a/bin/test b/bin/test index e090fb7..76cebe0 100755 --- 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\.", ""),