From: Pierre Joye Date: Sat, 7 Oct 2006 19:57:15 +0000 (+0000) Subject: - update tests X-Git-Tag: RELEASE_1_0_0RC1~1362 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f242191738dad020874d9a09b7d4160fd9f332f1;p=php - update tests --- diff --git a/ext/gd/tests/createfromstring.phpt b/ext/gd/tests/createfromstring.phpt index b3d7dde157..573195fe7c 100644 --- a/ext/gd/tests/createfromstring.phpt +++ b/ext/gd/tests/createfromstring.phpt @@ -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 diff --git a/ext/gd/tests/lines.phpt b/ext/gd/tests/lines.phpt index e8c663bca7..04fbd63a29 100644 --- a/ext/gd/tests/lines.phpt +++ b/ext/gd/tests/lines.phpt @@ -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