From 6fe75f9e45be60262bfe7e6bb92de445fe41c483 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 17 Apr 2019 09:54:01 +0200 Subject: [PATCH] Fix tests for non English environments --- ext/phar/tests/phar_buildfromdirectory2-win.phpt | 2 +- ext/phar/tests/phar_gobyebye-win32.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/phar/tests/phar_buildfromdirectory2-win.phpt b/ext/phar/tests/phar_buildfromdirectory2-win.phpt index b49b78d7c8..a8bb51b0d0 100644 --- a/ext/phar/tests/phar_buildfromdirectory2-win.phpt +++ b/ext/phar/tests/phar_buildfromdirectory2-win.phpt @@ -26,5 +26,5 @@ __HALT_COMPILER(); ?> --EXPECTF-- %s(24) "UnexpectedValueException" -RecursiveDirectoryIterator::__construct(1,1): The system cannot find the file specified. (code: 2) +RecursiveDirectoryIterator::__construct(1,1): %s (code: 2) ===DONE=== diff --git a/ext/phar/tests/phar_gobyebye-win32.phpt b/ext/phar/tests/phar_gobyebye-win32.phpt index 526a8cbf91..c875be3f22 100644 --- a/ext/phar/tests/phar_gobyebye-win32.phpt +++ b/ext/phar/tests/phar_gobyebye-win32.phpt @@ -42,7 +42,7 @@ bool(false) bool(false) bool(false) -Warning: opendir(foo/hi,foo/hi): The system cannot find the path specified. (code: 3) in phar://%sphar_gobyebye-win32.phar.php/foo/hi on line %d +Warning: opendir(foo/hi,foo/hi): %s (code: 3) in phar://%sphar_gobyebye-win32.phar.php/foo/hi on line %d Warning: opendir(foo/hi): failed to open dir: No such file or directory in phar://%sphar_gobyebye-win32.phar.php/foo/hi on line %d ===DONE=== -- 2.40.0