summaryrefslogtreecommitdiff
path: root/jstests/replsets/optime.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/optime.js')
-rw-r--r--jstests/replsets/optime.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/replsets/optime.js b/jstests/replsets/optime.js
index a716ca3dbca..5403ab35bcd 100644
--- a/jstests/replsets/optime.js
+++ b/jstests/replsets/optime.js
@@ -42,9 +42,7 @@ var initialInfo = master.getDB('admin').serverStatus({oplog: true}).oplog;
// Do an insert to increment optime, but without rolling the oplog
// latestOptime should be updated, but earliestOptime should be unchanged
-var options = {
- writeConcern: {w: replTest.nodes.length}
-};
+var options = {writeConcern: {w: replTest.nodes.length}};
assert.writeOK(master.getDB('test').foo.insert({a: 1}, options));
assert(optimesAreEqual(replTest));