summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/count_helper_read_preference.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/count_helper_read_preference.js')
-rw-r--r--jstests/noPassthrough/count_helper_read_preference.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/noPassthrough/count_helper_read_preference.js b/jstests/noPassthrough/count_helper_read_preference.js
index a049e586598..b07621f3498 100644
--- a/jstests/noPassthrough/count_helper_read_preference.js
+++ b/jstests/noPassthrough/count_helper_read_preference.js
@@ -10,10 +10,7 @@
MockMongo.prototype = Mongo.prototype;
MockMongo.prototype.runCommand = function(db, cmd, opts) {
commandsRan.push({db: db, cmd: cmd, opts: opts});
- return {
- ok: 1,
- n: 100
- };
+ return {ok: 1, n: 100};
};
var db = new DB(new MockMongo(), "test");