pajoye Sat Oct 7 19:57:15 2006 UTC
Modified files:
/php-src/ext/gd/tests lines.phpt createfromstring.phpt
Log:
- update tests
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/lines.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/gd/tests/lines.phpt
diff -u php-src/ext/gd/tests/lines.phpt:1.3 php-src/ext/gd/tests/lines.phpt:1.4
--- php-src/ext/gd/tests/lines.phpt:1.3 Wed Aug 23 12:00:05 2006
+++ php-src/ext/gd/tests/lines.phpt Sat Oct 7 19:57:15 2006
@@ -106,7 +106,7 @@
?>
--EXPECTF--
-Warning: Wrong parameter count for imageline() in %s on line %d
+Warning: imageline() expects exactly %d parameters, %d given in %s on line %d
Horizontal: ok
Vertical: ok
Diagonal: ok
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/createfromstring.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/gd/tests/createfromstring.phpt
diff -u php-src/ext/gd/tests/createfromstring.phpt:1.1
php-src/ext/gd/tests/createfromstring.phpt:1.2
--- php-src/ext/gd/tests/createfromstring.phpt:1.1 Fri Dec 16 19:02:07 2005
+++ php-src/ext/gd/tests/createfromstring.phpt Sat Oct 7 19:57:15 2006
@@ -50,9 +50,9 @@
//empty string
-$im = imagecreatefromstring('');
+$im = imagecreatefromstring(b'');
//random string > 8
-$im = imagecreatefromstring(' asdf jklp');
+$im = imagecreatefromstring(b' asdf jklp');
?>
--EXPECTF--
createfromstring truecolor png: ok
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php