diff --git a/tests/ArrayFunctionCallTest.php b/tests/ArrayFunctionCallTest.php index 06b081632..339c37905 100644 --- a/tests/ArrayFunctionCallTest.php +++ b/tests/ArrayFunctionCallTest.php @@ -2060,7 +2060,7 @@ class ArrayFunctionCallTest extends TestCase function merger(array $a, array $b) : array { return array_merge($a, $b); }', - 'error_message' => 'LessSpecificReturnStatement - src/somefile.php:9:32 - The type \'array{A: int|string}\' is more general', + 'error_message' => 'LessSpecificReturnStatement - src' . DIRECTORY_SEPARATOR . 'somefile.php:9:32 - The type \'array{A: int|string}\' is more general', ], ]; }