]> granicus.if.org Git - php/commitdiff
fix tests
authorHannes Magnusson <bjori@php.net>
Mon, 3 Jul 2006 16:03:51 +0000 (16:03 +0000)
committerHannes Magnusson <bjori@php.net>
Mon, 3 Jul 2006 16:03:51 +0000 (16:03 +0000)
ext/pcre/tests/preg_replace_callback2.phpt
ext/standard/tests/assert/assert02.phpt

index 65f23ca6cb8dd33e73aea5786492f661a092b61c..a7f5a362dcbd34aeb8c31bb9dcc328be76bf455e 100644 (file)
@@ -22,7 +22,7 @@ var_dump(preg_replace_callback('~\A.~', 'g', array(array('xyz'))));
 var_dump(preg_replace_callback('~\A.~', create_function('$m', 'return strtolower($m[0]);'), 'ABC'));
 ?>
 --EXPECTF--
-Warning: preg_replace_callback(): Unable to call custom replacement function ins %preg_replace_callback2.php on line 8
+Warning: preg_replace_callback(): Unable to call custom replacement function in %spreg_replace_callback2.php on line %d
 array(3) {
   [0]=>
   string(12) "'a' 'b3' bcd"
index 4e09fc3c2bb020d8afb915edb5e0b05add7059bd..786417cc0d33a17e8896b36825ed9182053eeaae 100644 (file)
@@ -27,16 +27,16 @@ echo "done\n";
 --EXPECTF--
 Notice: Undefined variable: a in %sassert02.php(12) : assert code on line 1
 
-Warning: assert(): Assertion "$a" failed in %sassert02.php on line 12
+Warning: assert(): Assertion "$a" failed in %sassert02.php on line %d
 
-Parse error: syntax error, unexpected '=' in %sassert02.php(14) : assert code on line 1
+Parse error: parse error, unexpected '=' in %sassert02.php(%d) : assert code on line 1
 in handler()
 string(64) "assert(): Failure evaluating code: 
 aa=sd+as+safsafasfaçsafçsafç"
 
-Warning: assert(): Assertion "0" failed in %sassert02.php on line 16
+Warning: assert(): Assertion "0" failed in %sassert02.php on line %d
 
-Parse error: syntax error, unexpected '=' in %sassert02.php(19) : assert code on line 1
+Parse error: parse error, unexpected '=' in %sassert02.php(%d) : assert code on line 1
 in handler()
 string(64) "assert(): Failure evaluating code: 
 aa=sd+as+safsafasfaçsafçsafç"