summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/jstests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/jstests.cpp')
-rw-r--r--src/mongo/dbtests/jstests.cpp20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/mongo/dbtests/jstests.cpp b/src/mongo/dbtests/jstests.cpp
index 051bc478dbc..44ccf7b6b5a 100644
--- a/src/mongo/dbtests/jstests.cpp
+++ b/src/mongo/dbtests/jstests.cpp
@@ -411,8 +411,7 @@ public:
<< "eliot"
<< "z"
<< "sara"
- << "zz"
- << BSONObj());
+ << "zz" << BSONObj());
s->setObject("blah", o, true);
BSONObj out;
@@ -1239,7 +1238,22 @@ class NovelNaN {
public:
void run() {
uint8_t bits[] = {
- 16, 0, 0, 0, 0x01, 'a', '\0', 0x61, 0x79, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0,
+ 16,
+ 0,
+ 0,
+ 0,
+ 0x01,
+ 'a',
+ '\0',
+ 0x61,
+ 0x79,
+ 0xfe,
+ 0xff,
+ 0xff,
+ 0xff,
+ 0xff,
+ 0xff,
+ 0,
};
unique_ptr<Scope> s((getGlobalScriptEngine()->*scopeFactory)());