cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests pdo_mysql_attr_init_command.phpt
| From: | David Coallier | Date: | Mon, 10 Nov 2008 12:40:23 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests pdo_mysql_attr_init_command.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-54138@lists.php.net to get a copy of this message | ||
davidc Mon Nov 10 12:40:23 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pdo_mysql/tests pdo_mysql_attr_init_command.phpt
Log:
- Adjusted test to make sure it reflects the behavior of the method
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt
diff -u php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt:1.1.2.3
--- php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt:1.1.2.2 Mon Jul 21 13:09:28 2008
+++ php-src/ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt Mon Nov 10 12:40:23 2008
@@ -35,11 +35,16 @@
$db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
print "done!\n";
+?>
--EXPECTF--
string(58) "CREATE TABLE test_%s(id INT)"
array(1) {
[0]=>
string(5) "00000"
+ [1]=>
+ NULL
+ [2]=>
+ NULL
}
array(1) {
[0]=>
@@ -48,4 +53,4 @@
string(1) "1"
}
}
-done!
\ No newline at end of file
+done!