summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonobjbuilder_test.cpp')
-rw-r--r--src/mongo/bson/bsonobjbuilder_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/bson/bsonobjbuilder_test.cpp b/src/mongo/bson/bsonobjbuilder_test.cpp
index fdee41b8ba1..f9bad62059f 100644
--- a/src/mongo/bson/bsonobjbuilder_test.cpp
+++ b/src/mongo/bson/bsonobjbuilder_test.cpp
@@ -33,8 +33,8 @@
#include "mongo/db/jsobj.h"
#include "mongo/db/json.h"
-#include <sstream>
#include "mongo/unittest/unittest.h"
+#include <sstream>
namespace {
@@ -300,7 +300,9 @@ TEST(BSONObjBuilderTest, ResumeBuildingWithNesting) {
auto obj = BSONObj(b.buf());
ASSERT_EQ(obj,
BSON("ll" << BSON("f" << BSON("cc"
- << "dd")) << "a" << BSON("c" << 3)));
+ << "dd"))
+ << "a"
+ << BSON("c" << 3)));
}
TEST(BSONObjBuilderTest, ResetToEmptyResultsInEmptyObj) {