From 063987fed59e9a15b07dd17e992e1053f116db3b Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Thu, 12 Jul 2007 10:47:00 +0000 Subject: [PATCH] 1) Whitespace/CS 2) Portability: don't expect any values and have them in the [U]EXPECTF, if they will be available only with certain MySQL Server versions. --- ext/mysql/tests/mysql_query.phpt | 159 +++++++++++++++---------------- 1 file changed, 79 insertions(+), 80 deletions(-) diff --git a/ext/mysql/tests/mysql_query.phpt b/ext/mysql/tests/mysql_query.phpt index 44b5c53b9c..185aa1ea8e 100644 --- a/ext/mysql/tests/mysql_query.phpt +++ b/ext/mysql/tests/mysql_query.phpt @@ -2,100 +2,99 @@ mysql_query() --SKIPIF-- - --FILE-- --EXPECTF-- array(1) { ["valid"]=> string(30) "this is sql but with semicolon" } -array(1) { - ["p_version"]=> - string(%d) "%s" -} -array(1) { - ["f_version"]=> - string(%d) "%s" -} Warning: mysql_query(): %d is not a valid MySQL-Link resource in %s on line %d -done! +done! --UEXPECTF-- array(1) { [u"valid"]=> unicode(30) "this is sql but with semicolon" } -array(1) { - [u"p_version"]=> - unicode(%d) "%s" -} -array(1) { - [u"f_version"]=> - unicode(%d) "%s" -} Warning: mysql_query(): %d is not a valid MySQL-Link resource in %s on line %d -done! +done! \ No newline at end of file -- 2.40.0