Skip to content

Commit a79002d

Browse files
authored
Merge pull request #991 from mongodb/jmikola-patch-1
Use EXPECTF for assertion with pattern match
2 parents d733298 + 119ec8f commit a79002d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/standalone/connectiontimeoutexception-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ echo throws(function() use ($manager, $command) {
2727
?>
2828
===DONE===
2929
<?php exit(0); ?>
30-
--EXPECT--
30+
--EXPECTF--
3131
OK: Got MongoDB\Driver\Exception\ConnectionTimeoutException
3232
Failed to send "sleep" command with database "admin": %Ssocket error or timeout
3333
===DONE===

0 commit comments

Comments
 (0)