Skip to content

Commit 9aad293

Browse files
committed
Fixed test case, where PHP 5 and PHP 7 call the type differently
1 parent 865078c commit 9aad293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/writeConcern/writeconcern-ctor_error-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ foreach ($tests as $test) {
2525
<?php exit(0); ?>
2626
--EXPECTF--
2727
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
28-
Expected w to be integer or string, double given
28+
Expected w to be integer or string, %r(double|float)%r given
2929
OK: Got MongoDB\Driver\Exception\InvalidArgumentException
3030
Expected w to be integer or string, boolean given
3131
OK: Got MongoDB\Driver\Exception\InvalidArgumentException

0 commit comments

Comments
 (0)