From: Jeremy Stanley Date: Tue, 1 Dec 2015 01:45:58 +0000 (+0000) Subject: More thorough match on chat mode test X-Git-Tag: 0.0.1~200 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=c220e2c786269aba37428b1293213037a6e61fe9;p=mudpy.git More thorough match on chat mode test Use a multi-line match on the chat mode functional test, to confirm both the command feedback and prompt change are present. --- diff --git a/bin/test b/bin/test index b1b4688..9c57829 100755 --- 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."),