Skip to content

Commit f54546a

Browse files
committed
Use %d to match property count in tests
1 parent c9eea94 commit f54546a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/exception/bulkwriteexception-getwriteresult-001.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ try {
2323
===DONE===
2424
<?php exit(0); ?>
2525
--EXPECTF--
26-
object(MongoDB\Driver\WriteResult)#%d (9) {
26+
object(MongoDB\Driver\WriteResult)#%d (%d) {
2727
["nInserted"]=>
2828
int(1)
2929
["nMatched"]=>
@@ -40,7 +40,7 @@ object(MongoDB\Driver\WriteResult)#%d (9) {
4040
["writeErrors"]=>
4141
array(1) {
4242
[0]=>
43-
object(MongoDB\Driver\WriteError)#%d (4) {
43+
object(MongoDB\Driver\WriteError)#%d (%d) {
4444
["message"]=>
4545
string(%d) %s
4646
["code"]=>
@@ -54,7 +54,7 @@ object(MongoDB\Driver\WriteResult)#%d (9) {
5454
["writeConcernError"]=>
5555
NULL
5656
["writeConcern"]=>
57-
object(MongoDB\Driver\WriteConcern)#%d (0) {
57+
object(MongoDB\Driver\WriteConcern)#%d (%d) {
5858
}
5959
}
6060
===DONE===

0 commit comments

Comments
 (0)