We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32442ad commit 7d24183Copy full SHA for 7d24183
tests/test-mongoc-collection.c
@@ -506,6 +506,11 @@ test_insert_null (void)
506
bson_iter_t iter;
507
uint32_t len;
508
509
+ /* nModified isn't available in 2.4 */
510
+ if (!test_framework_max_wire_version_at_least (2)) {
511
+ return;
512
+ }
513
+
514
client = test_framework_client_new ();
515
ASSERT (client);
516
@@ -556,6 +561,7 @@ test_insert_null (void)
556
561
ASSERT_OR_PRINT (ret, error);
557
562
ret = mongoc_bulk_operation_execute (bulk, &reply, &error);
558
563
564
559
565
ASSERT_MATCH (&reply,
560
566
"{'nInserted': 0,"
567
" 'nMatched': 1,"
0 commit comments