Skip to content

Commit 702916b

Browse files
minor #38110 [Debug] fix test (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Debug] fix test | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 16a7673 [Debug] fix test
2 parents 638f9ec + 16a7673 commit 702916b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testHandleClassNotFound($error, $translatedMessage, $autoloader
6868
}
6969

7070
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $exception);
71-
$this->assertEquals($translatedMessage, $exception->getMessage());
71+
$this->assertMatchesRegularExpression($translatedMessage, $exception->getMessage());
7272
$this->assertSame($error['type'], $exception->getSeverity());
7373
$this->assertSame($error['file'], $exception->getFile());
7474
$this->assertSame($error['line'], $exception->getLine());

0 commit comments

Comments
 (0)