summaryrefslogtreecommitdiff
path: root/jstests/core/evalg.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/evalg.js')
-rw-r--r--jstests/core/evalg.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/jstests/core/evalg.js b/jstests/core/evalg.js
index 570464cbce2..18503659217 100644
--- a/jstests/core/evalg.js
+++ b/jstests/core/evalg.js
@@ -3,10 +3,9 @@ db.evalg.drop();
for (var i = 0; i < 102; ++i) {
db.evalg.insert({});
}
-assert.eq(102,
- db.eval(function() {
- var cursor = db.evalg.aggregate();
- assert(cursor.hasNext());
- assert.eq(101, cursor.objsLeftInBatch());
- return cursor.itcount();
- }));
+assert.eq(102, db.eval(function() {
+ var cursor = db.evalg.aggregate();
+ assert(cursor.hasNext());
+ assert.eq(101, cursor.objsLeftInBatch());
+ return cursor.itcount();
+}));