From 89480cdaedd1a48d81855fc4899cd14cd6c2d15f Mon Sep 17 00:00:00 2001 From: Derek Clapham Date: Tue, 26 Aug 2014 09:49:46 +1000 Subject: [PATCH] Restored the $ regex string terminator for the WriteContext test --- tests/Monolog/Handler/SlackHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Monolog/Handler/SlackHandlerTest.php b/tests/Monolog/Handler/SlackHandlerTest.php index 33183a91..e5276e54 100644 --- a/tests/Monolog/Handler/SlackHandlerTest.php +++ b/tests/Monolog/Handler/SlackHandlerTest.php @@ -54,7 +54,7 @@ class SlackHandlerTest extends TestCase fseek($this->res, 0); $content = fread($this->res, 1024); - $this->assertRegexp('/token=myToken&channel=channel1&username=Monolog&text=&attachments=.*/', $content); + $this->assertRegexp('/token=myToken&channel=channel1&username=Monolog&text=&attachments=.*$/', $content); } public function testWriteContentWithEmoji()