Browse Source

Update expected result of test

Edgaras Janušauskas 7 years ago
parent
commit
2148855442
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/TestCase/Shell/Task/ExtractTaskTest.php

+ 2 - 1
tests/TestCase/Shell/Task/ExtractTaskTest.php

@@ -93,7 +93,8 @@ class ExtractTaskTest extends TestCase
         $this->assertFileNotExists($this->path . DS . 'cake.pot');
 
         // extract.ctp
-        $pattern = '/\#: Template[\/\\\\]Pages[\/\\\\]extract\.ctp:\d+;\d+\n';
+        $pattern = '/\#: Template[\/\\\\]Pages[\/\\\\]extract\.ctp:\d+\n';
+        $pattern .= '\#: Template[\/\\\\]Pages[\/\\\\]extract\.ctp:\d+\n';
         $pattern .= 'msgid "You have %d new message."\nmsgid_plural "You have %d new messages."/';
         $this->assertRegExp($pattern, $result);