0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-22341 fix jslint errors in jstests/readonly with eslint --fix

This commit is contained in:
Mike Grundy 2016-02-04 12:30:20 -05:00
parent 899b96b698
commit a4d52e4c85

View File

@ -17,7 +17,7 @@ runReadOnlyTest(function() {
bulk.insert({x: idx, y: idx + 1});
}
assert.writeOK(bulk.execute());
};
}
assert.eq(writableCollection.count(), this.count);
},
exec: function(readableCollection) {
@ -26,7 +26,7 @@ runReadOnlyTest(function() {
while (cursor.hasNext()) {
++count;
var doc = cursor.next();
assert.eq(doc.y, doc.x + 1);;
assert.eq(doc.y, doc.x + 1);
}
assert.eq(count, this.count);
}