summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/rename_variation8-win32.phpt
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-11-12 14:58:47 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-11-12 16:42:28 +0100
commita08a2b48b489572db89940027206020ee714afa5 (patch)
tree7f612cfa39f9ac4d78b22e2ad25f32879b729776 /ext/standard/tests/file/rename_variation8-win32.phpt
parent34dd032e4e70a33e3e8fa27e38af62f63601b447 (diff)
downloadphp-git-a08a2b48b489572db89940027206020ee714afa5.tar.gz
Strip trailing line breaks and periods from Windows error messages
PHP error messages should not contain line breaks, so we remove these from the Windows specific error messages. We also remove trailing periods for the same reason. Closes GH-6423.
Diffstat (limited to 'ext/standard/tests/file/rename_variation8-win32.phpt')
-rw-r--r--ext/standard/tests/file/rename_variation8-win32.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/rename_variation8-win32.phpt b/ext/standard/tests/file/rename_variation8-win32.phpt
index 5e4bd68576..c880cc60ee 100644
--- a/ext/standard/tests/file/rename_variation8-win32.phpt
+++ b/ext/standard/tests/file/rename_variation8-win32.phpt
@@ -46,7 +46,7 @@ rmdir(__DIR__."/rename_basic_dir1");
--EXPECTF--
*** Testing rename() on non-existing file ***
-Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): The system cannot find the file specified. (code: 2) in %s on line %d
+Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): The system cannot find the file specified (code: 2) in %s on line %d
bool(false)
bool(false)
bool(false)
@@ -58,7 +58,7 @@ bool(true)
*** Testing rename() on non-existing directory ***
-Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): The system cannot find the file specified. (code: 2) in %s on line %d
+Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): The system cannot find the file specified (code: 2) in %s on line %d
bool(false)
bool(false)
bool(false)