]> granicus.if.org Git - php/commitdiff
Fix tests for non English environments
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 17 Apr 2019 07:54:01 +0000 (09:54 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 17 Apr 2019 07:56:55 +0000 (09:56 +0200)
ext/phar/tests/phar_buildfromdirectory2-win.phpt
ext/phar/tests/phar_gobyebye-win32.phpt

index b49b78d7c8a2f8610d2c18432f812053bdbef5a2..a8bb51b0d0f62f28afaed53264f26210d0a48fa2 100644 (file)
@@ -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===
index 526a8cbf91538cab66cbfd04c3b17a773e601e2f..c875be3f22cc5c0ea5f6c3e3e91d66809c8c352e 100644 (file)
@@ -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===