Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 00f654c

Browse files
[Debug] Fix context dependent test
1 parent dfaa39d commit 00f654c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public function testHandleErrorException()
428428
$handler->handleException($exception);
429429

430430
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $args[0]);
431-
$this->assertSame("Attempted to load class \"Foo\" from the global namespace.\nDid you forget a \"use\" statement?", $args[0]->getMessage());
431+
$this->assertStringStartsWith("Attempted to load class \"Foo\" from the global namespace.\nDid you forget a \"use\" statement", $args[0]->getMessage());
432432
}
433433

434434
public function testHandleFatalErrorOnHHVM()

0 commit comments

Comments
 (0)