diff options
Diffstat (limited to 'ext/mysql/tests/mysql_close.phpt')
-rw-r--r-- | ext/mysql/tests/mysql_close.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/mysql_close.phpt b/ext/mysql/tests/mysql_close.phpt index aab3553f72..8f305ba780 100644 --- a/ext/mysql/tests/mysql_close.phpt +++ b/ext/mysql/tests/mysql_close.phpt @@ -23,8 +23,8 @@ if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) $host, $user, $db, $port, $socket); $tmp = @mysql_close(NULL); -if (false !== $tmp) - printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); +if (null !== $tmp) + printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); $tmp = mysql_close($link); if (true !== $tmp) @@ -36,4 +36,4 @@ if (false !== ($tmp = @mysql_query("SELECT 1", $link))) print "done!\n"; ?> --EXPECTF-- -done!
\ No newline at end of file +done! |