From 4f56e519d6f937208ff91cf14c2e2741d9d64217 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 22 Aug 2015 19:36:16 +0000 Subject: [PATCH] Test sentence capitalization Add a functional test to make sure uncapitalized actor speech gets displayed with proper sentence capitalization. --- bin/test | 5 +++++ 1 file changed, 5 insertions(+) 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\.", ""), -- 2.11.0