summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/shelllimit.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/shelllimit.js')
-rw-r--r--jstests/noPassthroughWithMongod/shelllimit.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthroughWithMongod/shelllimit.js b/jstests/noPassthroughWithMongod/shelllimit.js
index cc7e7359ef6..3b270bddc12 100644
--- a/jstests/noPassthroughWithMongod/shelllimit.js
+++ b/jstests/noPassthroughWithMongod/shelllimit.js
@@ -7,15 +7,15 @@
t.drop();
var pre = db.serverStatus().metrics.cursor.open.total;
- for (var i=1; i<=5; i++) {
- t.save( { a : i } );
+ for (var i = 1; i <= 5; i++) {
+ t.save({a: i});
}
var c = t.find().limit(3);
- while(c.hasNext()) {
+ while (c.hasNext()) {
var v = c.next();
}
- assert.eq(pre,db.serverStatus().metrics.cursor.open.total);
+ assert.eq(pre, db.serverStatus().metrics.cursor.open.total);
t.drop();
}());