Procházet zdrojové kódy

Restored the $ regex string terminator for the WriteContext test

Derek Clapham před 11 roky
rodič
revize
89480cdaed
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/Monolog/Handler/SlackHandlerTest.php

+ 1 - 1
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()