diff options
Diffstat (limited to 'src/mongo/db/stats/timer_stats_test.cpp')
-rw-r--r-- | src/mongo/db/stats/timer_stats_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/stats/timer_stats_test.cpp b/src/mongo/db/stats/timer_stats_test.cpp index c1284c55357..80cef94aae0 100644 --- a/src/mongo/db/stats/timer_stats_test.cpp +++ b/src/mongo/db/stats/timer_stats_test.cpp @@ -38,14 +38,14 @@ namespace { using namespace mongo; TEST(TimerStatsTest, GetReportNoRecording) { - ASSERT_EQUALS(BSON("num" << 0 << "totalMillis" << 0), TimerStats().getReport()); + ASSERT_BSONOBJ_EQ(BSON("num" << 0 << "totalMillis" << 0), TimerStats().getReport()); } TEST(TimerStatsTest, GetReportOneRecording) { TimerStats timerStats; Timer timer; int millis = timerStats.record(timer); - ASSERT_EQUALS(BSON("num" << 1 << "totalMillis" << millis), timerStats.getReport()); + ASSERT_BSONOBJ_EQ(BSON("num" << 1 << "totalMillis" << millis), timerStats.getReport()); } } // namespace |