]> granicus.if.org Git - php/commitdiff
Fix typos in mysql tests
authorDharman <tekiela246@gmail.com>
Wed, 2 Dec 2020 22:58:38 +0000 (22:58 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 3 Dec 2020 09:42:39 +0000 (10:42 +0100)
%d because of line endings on Windows

ext/mysqli/tests/mysqli_character_set_name.phpt
ext/mysqli/tests/mysqli_character_set_name_oo.phpt
ext/pdo/tests/bug_69356.phpt

index 5728b726a507c9323e96fd9abf557c7b9039488d..79d472d3343909c8e295229eada7ebdf84ffbd19 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-mysqli_chararcter_set_name(), mysql_client_encoding() [alias]
+mysqli_character_set_name(), mysql_client_encoding() [alias]
 --SKIPIF--
 <?php
 require_once('skipif.inc');
index 2a61af45edb67739c93bd9704f77a35b47a69006..8753190455660811376100d51744dacdecc30d5b 100644 (file)
@@ -1,9 +1,9 @@
 --TEST--
-mysqli_chararcter_set_name(), mysql_client_encoding() [alias]
+mysqli_character_set_name(), mysql_client_encoding() [alias]
 --SKIPIF--
 <?php
-    require_once('skipif.inc');
-    require_once('skipifconnectfailure.inc');
+require_once('skipif.inc');
+require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
index 2bd3b309731f2ea4ab2844e647451f784ce7caaf..44a3440670f78bc253e6f8ae92eef54844edb7c2 100644 (file)
@@ -27,8 +27,8 @@ $stmt = $db->query("
 ");
 var_dump($stmt->debugDumpParams());
 ?>
---EXPECT--
-SQL: [834
+--EXPECTF--
+SQL: [%d
     SELECT '
         Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
         This is a debug function, which dump directly the data on the normal output.