10000 minor #18978 [Debug] Fix context dependent test (nicolas-grekas) · symfony/symfony@758c51d · GitHub
[go: up one dir, main page]

Skip to content

Commit 758c51d

Browse files
minor #18978 [Debug] Fix context dependent test (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [Debug] Fix context dependent test | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 9fc48b8 [Debug] Fix context dependent test
2 parents 1088252 + 9fc48b8 commit 758c51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Debug/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)
0