From be72fc4a66fc0fbddc665311c8cb967880a1aa51 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sun, 14 Jun 2020 14:15:02 +0200 Subject: [PATCH] Fix test --- .../SourceLocator/OptimizedSingleFileSourceLocatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPStan/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocatorTest.php b/tests/PHPStan/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocatorTest.php index fdda3a86a0..f6418dcd5e 100644 --- a/tests/PHPStan/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocatorTest.php +++ b/tests/PHPStan/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocatorTest.php @@ -112,7 +112,7 @@ public function dataConst(): array ], [ 'const_with_dir_const', - __DIR__ . '/data', + str_replace('\\', '/', __DIR__ . '/data'), ], ]; }