summaryrefslogtreecommitdiff
path: root/jstests/core/max_doc_size.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/max_doc_size.js')
-rw-r--r--jstests/core/max_doc_size.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/jstests/core/max_doc_size.js b/jstests/core/max_doc_size.js
index 03deeafb307..383e4b4b76d 100644
--- a/jstests/core/max_doc_size.js
+++ b/jstests/core/max_doc_size.js
@@ -53,10 +53,7 @@ assert.neq(null, res.writeErrors);
coll.drop();
id = new ObjectId();
coll.insert({_id: id});
-res = db.runCommand({
- update: coll.getName(),
- ordered: true,
- updates: [{q: {_id: id}, u: {$set: {x: overBigStr}}}]
-});
+res = db.runCommand(
+ {update: coll.getName(), ordered: true, updates: [{q: {_id: id}, u: {$set: {x: overBigStr}}}]});
assert(res.ok);
assert.neq(null, res.writeErrors);