From 16a76739c02c332df1590ef38e28343970d30ed3 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 8 Sep 2020 15:04:06 +0200 Subject: [PATCH] [Debug] fix test --- .../FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php b/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php index 38fb181f0c..03ada95c84 100644 --- a/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php +++ b/src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php @@ -68,7 +68,7 @@ class ClassNotFoundFatalErrorHandlerTest extends TestCase } $this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $exception); - $this->assertEquals($translatedMessage, $exception->getMessage()); + $this->assertMatchesRegularExpression($translatedMessage, $exception->getMessage()); $this->assertSame($error['type'], $exception->getSeverity()); $this->assertSame($error['file'], $exception->getFile()); $this->assertSame($error['line'], $exception->getLine());