From cb21bc93f2fe7c0b9859bce455635cfd4658c2f3 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 5 Apr 2023 11:41:04 +0200 Subject: [PATCH] Fix the test for casting FlattenException on Windows The assertion should avoid forcing to show path separators, as done in other tests of the caster, as path separators are different on Windows. --- Tests/Caster/ExceptionCasterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Caster/ExceptionCasterTest.php b/Tests/Caster/ExceptionCasterTest.php index 9c615d9f..66708944 100644 --- a/Tests/Caster/ExceptionCasterTest.php +++ b/Tests/Caster/ExceptionCasterTest.php @@ -375,7 +375,7 @@ public function testFlattenException() -statusCode: 500 -statusText: "Internal Server Error" -headers: [] - -file: "%s/src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php" + -file: "%sExceptionCasterTest.php" -line: %d -asString: null }