diff options
Diffstat (limited to 'src/mongo/db/ftdc/ftdc_test.cpp')
-rw-r--r-- | src/mongo/db/ftdc/ftdc_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ftdc/ftdc_test.cpp b/src/mongo/db/ftdc/ftdc_test.cpp index 3a010ab32c5..9f4f616db3b 100644 --- a/src/mongo/db/ftdc/ftdc_test.cpp +++ b/src/mongo/db/ftdc/ftdc_test.cpp @@ -70,9 +70,9 @@ void ValidateDocumentList(const std::vector<BSONObj>& docs1, const std::vector<B auto bi = docs2.begin(); while (ai != docs1.end() && bi != docs2.end()) { - if (!(*ai == *bi)) { + if (SimpleBSONObjComparator::kInstance.evaluate(*ai != *bi)) { std::cout << *ai << " vs " << *bi << std::endl; - ASSERT_TRUE(*ai == *bi); + ASSERT_BSONOBJ_EQ(*ai, *bi); } ++ai; ++bi; |