Skip to content

Commit 431e610

Browse files
committed
Fix broken tests
1 parent a3702fc commit 431e610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testExecute() {
149149
$this->assertRegExp($pattern, $result);
150150

151151
$pattern = '/\#: (\\\\|\/)extract\.ctp:14\n';
152-
$pattern .= '\#: (\\\\|\/)home\.ctp:99\n';
152+
$pattern .= '\#: (\\\\|\/)home\.ctp:100\n';
153153
$pattern .= 'msgid "Editing this Page"\nmsgstr ""/';
154154
$this->assertRegExp($pattern, $result);
155155

lib/Cake/Test/Case/Utility/DebuggerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testExcerpt() {
8888
$pattern = '/<code>.*?<span style\="color\: \#\d+">.*?&lt;\?php/';
8989
$this->assertRegExp($pattern, $result[0]);
9090

91-
$result = Debugger::excerpt(__FILE__, 10, 2);
91+
$result = Debugger::excerpt(__FILE__, 11, 2);
9292
$this->assertEquals(5, count($result));
9393

9494
$pattern = '/<span style\="color\: \#\d{6}">\*<\/span>/';

0 commit comments

Comments
 (0)