summaryrefslogtreecommitdiff
path: root/ext/phar/tests
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-04-17 09:54:01 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-04-17 09:56:55 +0200
commit6fe75f9e45be60262bfe7e6bb92de445fe41c483 (patch)
treed426c895ba72396fd919acf4bec4aab4e5c7a062 /ext/phar/tests
parent6c44a71e4a0fd86c885a939a0b2f2ae082dcdf34 (diff)
downloadphp-git-6fe75f9e45be60262bfe7e6bb92de445fe41c483.tar.gz
Fix tests for non English environments
Diffstat (limited to 'ext/phar/tests')
-rw-r--r--ext/phar/tests/phar_buildfromdirectory2-win.phpt2
-rw-r--r--ext/phar/tests/phar_gobyebye-win32.phpt2
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===