Skip to content

Commit 772229f

Browse files
author
Christian Hergert
committed
test: print drop error upon failure.
1 parent fb0aff4 commit 772229f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test-mongoc-collection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ test_large_return (void)
911911
mongoc_cursor_destroy (cursor);
912912

913913
r = mongoc_collection_drop (collection, &error);
914+
if (!r) fprintf (stderr, "ERROR: %s\n", error.message);
914915
assert (r);
915916

916917
mongoc_collection_destroy (collection);

0 commit comments

Comments
 (0)