bjori Mon Jul 3 16:03:39 2006 UTC Modified files: /php-src/ext/pcre/tests preg_replace_callback2.phpt /php-src/ext/standard/tests/assert assert02.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/tests/preg_replace_callback2.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/pcre/tests/preg_replace_callback2.phpt diff -u php-src/ext/pcre/tests/preg_replace_callback2.phpt:1.2 php-src/ext/pcre/tests/preg_replace_callback2.phpt:1.3 --- php-src/ext/pcre/tests/preg_replace_callback2.phpt:1.2 Mon Jul 3 14:55:49 2006 +++ php-src/ext/pcre/tests/preg_replace_callback2.phpt Mon Jul 3 16:03:39 2006 @@ -22,7 +22,7 @@ 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" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/assert/assert02.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/assert/assert02.phpt diff -u php-src/ext/standard/tests/assert/assert02.phpt:1.2 php-src/ext/standard/tests/assert/assert02.phpt:1.3 --- php-src/ext/standard/tests/assert/assert02.phpt:1.2 Sat Jul 1 12:29:38 2006 +++ php-src/ext/standard/tests/assert/assert02.phpt Mon Jul 3 16:03:39 2006 @@ -29,30 +29,30 @@ 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"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php