From 302deb04d8933eadee927388b9549de333e63d3e Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 3 Jul 2006 16:03:39 +0000 Subject: [PATCH] fix tests --- ext/pcre/tests/preg_replace_callback2.phpt | 2 +- ext/standard/tests/assert/assert02.phpt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/pcre/tests/preg_replace_callback2.phpt b/ext/pcre/tests/preg_replace_callback2.phpt index 65f23ca6cb..a7f5a362dc 100644 --- a/ext/pcre/tests/preg_replace_callback2.phpt +++ b/ext/pcre/tests/preg_replace_callback2.phpt @@ -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" diff --git a/ext/standard/tests/assert/assert02.phpt b/ext/standard/tests/assert/assert02.phpt index d93085eff7..01b226fb27 100644 --- a/ext/standard/tests/assert/assert02.phpt +++ b/ext/standard/tests/assert/assert02.phpt @@ -29,30 +29,30 @@ Notice: Undefined variable: a in %sassert02.php(12) : assert code on line 1 Warning: assert(): Assertion "$a" failed in %sassert02.php on line 12 -Parse error: syntax error, unexpected '=' in %sassert02.php(14) : assert code on line 1 +Parse error: parse error, unexpected '=' in %sassert02.php(14) : assert code on line 1 in handler() string(61) "assert(): Failure evaluating code: aa=sd+as+safsafasfasafsaf" Warning: assert(): Assertion "0" failed in %sassert02.php on line 16 -Parse error: syntax error, unexpected '=' in %sassert02.php(19) : assert code on line 1 +Parse error: parse error, unexpected '=' in %sassert02.php(19) : assert code on line 1 in handler() string(61) "assert(): Failure evaluating code: aa=sd+as+safsafasfasafsaf" ---EXPECTUF-- +--UEXPECTF-- Notice: Undefined variable: a in %sassert02.php(12) : assert code on line 1 Warning: assert(): Assertion "$a" failed in %sassert02.php on line 12 -Parse error: syntax error, unexpected '=' in %sassert02.php(14) : assert code on line 1 +Parse error: parse error, unexpected '=' in %sassert02.php(14) : assert code on line 1 in handler() unicode(61) "assert(): Failure evaluating code: aa=sd+as+safsafasfasafsaf" Warning: assert(): Assertion "0" failed in %sassert02.php on line 16 -Parse error: syntax error, unexpected '=' in %sassert02.php(19) : assert code on line 1 +Parse error: parse error, unexpected '=' in %sassert02.php(19) : assert code on line 1 in handler() unicode(61) "assert(): Failure evaluating code: aa=sd+as+safsafasfasafsaf" -- 2.40.0