diff options
Diffstat (limited to 'src/mongo/rpc/metadata/server_selection_metadata_test.cpp')
-rw-r--r-- | src/mongo/rpc/metadata/server_selection_metadata_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/rpc/metadata/server_selection_metadata_test.cpp b/src/mongo/rpc/metadata/server_selection_metadata_test.cpp index 90b66f86185..3775f489a06 100644 --- a/src/mongo/rpc/metadata/server_selection_metadata_test.cpp +++ b/src/mongo/rpc/metadata/server_selection_metadata_test.cpp @@ -96,8 +96,8 @@ void checkUpconvert(const BSONObj& legacyCommand, return bob.obj(); }; - ASSERT_EQ(upconvertedCommand, upconvertedCommandBob.done()); - ASSERT_EQ(sorted(upconvertedMetadata), sorted(upconvertedMetadataBob.done())); + ASSERT_BSONOBJ_EQ(upconvertedCommand, upconvertedCommandBob.done()); + ASSERT_BSONOBJ_EQ(sorted(upconvertedMetadata), sorted(upconvertedMetadataBob.done())); } TEST(ServerSelectionMetadata, UpconvertValidMetadata) { |