Skip to content

Commit

Permalink
Fixing failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 20, 2009
1 parent a839c29 commit c105667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/cake_log.test.php
Expand Up @@ -66,7 +66,7 @@ function testLoggingWithErrorHandling() {
$result = file(LOGS . 'debug.log');
$this->assertEqual(count($result), 1);
$this->assertPattern(
'/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} Debug: Notice \(8\): Undefined variable: out in \[.+ line \d{2}\]$/',
'/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} Notice: Notice \(8\): Undefined variable: out in \[.+ line \d{2}\]$/',
$result[0]
);
@unlink(LOGS . 'debug.log');
Expand Down

0 comments on commit c105667

Please sign in to comment.