diff options
Diffstat (limited to 'ext/mysql/tests/mysql_errno.phpt')
-rw-r--r-- | ext/mysql/tests/mysql_errno.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/mysql_errno.phpt b/ext/mysql/tests/mysql_errno.phpt index 7a9e85fb30..fd76f226cd 100644 --- a/ext/mysql/tests/mysql_errno.phpt +++ b/ext/mysql/tests/mysql_errno.phpt @@ -15,8 +15,8 @@ $link = NULL; if (false !== ($tmp = @mysql_errno())) printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); -if (null !== ($tmp = @mysql_errno($link))) - printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); +if (false !== ($tmp = @mysql_errno($link))) + printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); if (!is_null($tmp = @mysql_errno($link, 'too many args'))) printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); @@ -56,4 +56,4 @@ int(%d) Warning: mysql_errno(): %d is not a valid MySQL-Link resource in %s on line %d bool(false) -done! +done!
\ No newline at end of file |