]> granicus.if.org Git - php/commitdiff
- Adjusted test to make sure it reflects the behavior of the method
authorDavid Coallier <davidc@php.net>
Mon, 10 Nov 2008 12:40:23 +0000 (12:40 +0000)
committerDavid Coallier <davidc@php.net>
Mon, 10 Nov 2008 12:40:23 +0000 (12:40 +0000)
ext/pdo_mysql/tests/pdo_mysql_attr_init_command.phpt

index 6b13465416b9966fef4d5569d9a8f78065693895..1d66b9d997fe190b6112d61c483cce1e14844317 100644 (file)
@@ -35,11 +35,16 @@ error_reporting=E_ALL
 
        $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 @@ array(1) {
     string(1) "1"
   }
 }
-done!
\ No newline at end of file
+done!