From c220e2c786269aba37428b1293213037a6e61fe9 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 1 Dec 2015 01:45:58 +0000 Subject: [PATCH] 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. --- bin/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."), -- 2.11.0