From 1b9f57f21400adf51b59f2e06810d04bde69cae5 Mon Sep 17 00:00:00 2001 From: AndrolGenhald Date: Thu, 30 Dec 2021 16:29:40 -0600 Subject: [PATCH] Fix directory separator cross-platform issue. --- tests/AssertAnnotationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/AssertAnnotationTest.php b/tests/AssertAnnotationTest.php index 54daaa34486..ade990073f5 100644 --- a/tests/AssertAnnotationTest.php +++ b/tests/AssertAnnotationTest.php @@ -2336,7 +2336,7 @@ function assertBIsOne(A $arg): bool /** @param 1 $_arg */ function takesOne(int $_arg): void {} ', - 'error_message' => 'ImpureFunctionCall - src/somefile.php:10:40', + 'error_message' => 'ImpureFunctionCall - src' . DIRECTORY_SEPARATOR . 'somefile.php:10:40', ], ]; }