summaryrefslogtreecommitdiff
path: root/src/mongo/bson/util/bson_extract_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/util/bson_extract_test.cpp')
-rw-r--r--src/mongo/bson/util/bson_extract_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/bson/util/bson_extract_test.cpp b/src/mongo/bson/util/bson_extract_test.cpp
index 8ec13d1fbd1..9ef6a448e80 100644
--- a/src/mongo/bson/util/bson_extract_test.cpp
+++ b/src/mongo/bson/util/bson_extract_test.cpp
@@ -89,10 +89,12 @@ TEST(ExtractBSON, ExtractStringFieldWithDefault) {
TEST(ExtractBSON, ExtractBooleanFieldWithDefault) {
BSONObj obj1 = BSON("a" << 1 << "b"
<< "hello"
- << "c" << true);
+ << "c"
+ << true);
BSONObj obj2 = BSON("a" << 0 << "b"
<< "hello"
- << "c" << false);
+ << "c"
+ << false);
bool b;
b = false;
ASSERT_OK(bsonExtractBooleanFieldWithDefault(obj1, "a", false, &b));