summaryrefslogtreecommitdiff
path: root/jstests/core/profile_insert.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/profile_insert.js')
-rw-r--r--jstests/core/profile_insert.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/core/profile_insert.js b/jstests/core/profile_insert.js
index 75a44fcb4e9..e49699a9d11 100644
--- a/jstests/core/profile_insert.js
+++ b/jstests/core/profile_insert.js
@@ -17,9 +17,7 @@
//
// Test single insert.
//
- var doc = {
- _id: 1
- };
+ var doc = {_id: 1};
var result = coll.insert(doc);
if (isWriteCommand) {
assert.writeOK(result);
@@ -76,9 +74,7 @@
// Test insert options.
//
coll.drop();
- doc = {
- _id: 1
- };
+ doc = {_id: 1};
var wtimeout = 60000;
assert.writeOK(coll.insert(doc, {writeConcern: {w: 1, wtimeout: wtimeout}, ordered: false}));