Permalink
Browse files

Fix broken tests

  • Loading branch information...
1 parent a3702fc commit 431e610317513d5d20bd91cf2c8198be9a197edc @ADmad ADmad committed Feb 8, 2013
@@ -149,7 +149,7 @@ public function testExecute() {
$this->assertRegExp($pattern, $result);
$pattern = '/\#: (\\\\|\/)extract\.ctp:14\n';
- $pattern .= '\#: (\\\\|\/)home\.ctp:99\n';
+ $pattern .= '\#: (\\\\|\/)home\.ctp:100\n';
$pattern .= 'msgid "Editing this Page"\nmsgstr ""/';
$this->assertRegExp($pattern, $result);
@@ -88,7 +88,7 @@ public function testExcerpt() {
$pattern = '/<code>.*?<span style\="color\: \#\d+">.*?&lt;\?php/';
$this->assertRegExp($pattern, $result[0]);
- $result = Debugger::excerpt(__FILE__, 10, 2);
+ $result = Debugger::excerpt(__FILE__, 11, 2);
$this->assertEquals(5, count($result));
$pattern = '/<span style\="color\: \#\d{6}">\*<\/span>/';

0 comments on commit 431e610

Please sign in to comment.