diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php index 228b5caab..922644cc0 100644 --- a/lib/Cake/Test/Case/Utility/DebuggerTest.php +++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php @@ -264,7 +264,8 @@ class DebuggerTest extends CakeTestCase { ob_start(); $foo .= ''; $result = ob_get_clean(); - $this->assertEquals('Notice: I eated an error ' . 'CORE' . DS . ltrim(__FILE__, CAKE_CORE_INCLUDE_PATH), $result); + $this->assertContains('Notice: I eated an error', $result); + $this->assertContains('DebuggerTest.php', $result); } /**