summaryrefslogtreecommitdiff
path: root/tests/basic/bug45986.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/bug45986.phpt')
-rw-r--r--tests/basic/bug45986.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic/bug45986.phpt b/tests/basic/bug45986.phpt
index 5745d272c..1c30f1040 100644
--- a/tests/basic/bug45986.phpt
+++ b/tests/basic/bug45986.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #45986 (wrong error messag for a non existant file on rename)
+Bug #45986 (wrong error message for a non existant file on rename)
--CREDITS--
Sebastian Schürmann
sebs@php.net
@@ -8,5 +8,5 @@ Testfest 2009 Munich
<?php
rename('foo', 'bar');
?>
---EXPECTREGEX--
-.*No such.*
+--EXPECTF--
+Warning: %s in %sbug45986.php on line 2