From f242191738dad020874d9a09b7d4160fd9f332f1 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 7 Oct 2006 19:57:15 +0000 Subject: [PATCH] - update tests --- ext/gd/tests/createfromstring.phpt | 4 ++-- ext/gd/tests/lines.phpt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.1