]> granicus.if.org Git - php/commitdiff
- update tests
authorPierre Joye <pajoye@php.net>
Sat, 7 Oct 2006 19:57:15 +0000 (19:57 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 7 Oct 2006 19:57:15 +0000 (19:57 +0000)
ext/gd/tests/createfromstring.phpt
ext/gd/tests/lines.phpt

index b3d7dde157518b7558ab7725e9dd1fe476bd145a..573195fe7c0a14be1fe0eac3b307d0b94ca409cc 100644 (file)
@@ -50,9 +50,9 @@ unlink($dir . '/p.png');
 
 
 //empty string
-$im = imagecreatefromstring('');
+$im = imagecreatefromstring(b'');
 //random string > 8
-$im = imagecreatefromstring(' asdf jklp');
+$im = imagecreatefromstring(b' asdf jklp');
 ?>
 --EXPECTF--
 createfromstring truecolor png: ok
index e8c663bca7f9ee23bcd527a823f84b2ac98c7bba..04fbd63a29a219763a0afc3df6864433401d28a7 100644 (file)
@@ -106,7 +106,7 @@ if ($p3) {
 ?>
 --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