8000 minor #49940 Fix the test for casting FlattenException on Windows (stof) · symfony/symfony@6be3b71 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6be3b71

Browse files
committed
minor #49940 Fix the test for casting FlattenException on Windows (stof)
This PR was merged into the 6.3 branch. Discussion ---------- Fix the test for casting FlattenException on Windows | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a The assertion should avoid forcing to show path separators, as done in other tests of the caster, as path separators are different on Windows. This fixes the test introduced in #49853 Commits ------- 1464e1e Fix the test for casting FlattenException on Windows
2 parents ba0fdc0 + 1464e1e commit 6be3b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function testFlattenException()
375375
-statusCode: 500
376376
-statusText: "Internal Server Error"
377377
-headers: []
378-
-file: "%s/src/Symfony/Component/VarDumper/Tests/Caster/ExceptionCasterTest.php"
378+
-file: "%sExceptionCasterTest.php"
379379
-line: %d
380380
-asString: null
381381
}

0 commit comments

Comments
 (0)
0