Skip to content

Commit 7d32b0a

Browse files
committed
Add comment to clarify the empty --EXPECT-- section
1 parent 2618a27 commit 7d32b0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/pdo_odbc/tests/gh9372.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ PDOTest::skip();
88
?>
99
--FILE--
1010
<?php
11+
// Executing the statements fails with some drivers, but not others.
12+
// The test is written in a way to always pass, unless the execution
13+
// fails with a different code than 22001 (String data, right truncation).
14+
1115
require 'ext/pdo/tests/pdo_test.inc';
1216
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
1317
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

0 commit comments

Comments
 (0)