summaryrefslogtreecommitdiff
path: root/src/mongo/db/keypattern_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/keypattern_test.cpp')
-rw-r--r--src/mongo/db/keypattern_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/keypattern_test.cpp b/src/mongo/db/keypattern_test.cpp
index 300843ecfea..4b83648fa7d 100644
--- a/src/mongo/db/keypattern_test.cpp
+++ b/src/mongo/db/keypattern_test.cpp
@@ -122,10 +122,12 @@ TEST(KeyPattern, GlobalMinMax) {
BSON("a" << MAXKEY << "b" << MINKEY));
ASSERT_EQUALS(KeyPattern(BSON("a"
- << "hashed")).globalMin(),
+ << "hashed"))
+ .globalMin(),
BSON("a" << MINKEY));
ASSERT_EQUALS(KeyPattern(BSON("a"
- << "hashed")).globalMax(),
+ << "hashed"))
+ .globalMax(),
BSON("a" << MAXKEY));
//