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:
parent
899b96b698
commit
a4d52e4c85
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user