Skip to content

Commit 16a7673

Browse files
committed
[Debug] fix test
1 parent 261a939 commit 16a7673

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)