Skip to content

Commit 119ec8f

Browse files
authored
Use EXPECTF for assertion with pattern match
1 parent d733298 commit 119ec8f

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)