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 0be19d0 commit 4329555Copy full SHA for 4329555
tests/test-mongoc-database.c
@@ -98,7 +98,7 @@ test_command (void)
98
assert (!r);
99
assert (error.domain == MONGOC_ERROR_QUERY);
100
assert (error.code == MONGOC_ERROR_QUERY_COMMAND_NOT_FOUND);
101
- assert (!strcmp ("no such cmd: a_non_existing_command", error.message));
+ assert (strstr (error.message, "a_non_existing_command"));
102
103
mongoc_database_destroy (database);
104
mongoc_client_destroy (client);
0 commit comments