Skip to content

Commit c21a592

Browse files
grooverdancmb69
authored andcommitted
ext/mysqli tests "using password" optional in error messages (part 2)
Like GH-10035 for ext/mysqli/tests/mysqli_connect.phpt test. Closes GH-10064.
1 parent 696bb38 commit c21a592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_connect.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ require_once('skipifconnectfailure.inc');
145145
print "done!";
146146
?>
147147
--EXPECTF--
148-
Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
148+
Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s'%r( \(using password: \w+\)){0,1}%r in %s on line %d
149149
array(1) {
150150
["testing"]=>
151151
string(21) "mysqli.default_socket"

0 commit comments

Comments
 (0)