diff options
Diffstat (limited to 'jstests/core/tailable_skip_limit.js')
-rw-r--r-- | jstests/core/tailable_skip_limit.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/core/tailable_skip_limit.js b/jstests/core/tailable_skip_limit.js index da2f80d0311..f771621ad83 100644 --- a/jstests/core/tailable_skip_limit.js +++ b/jstests/core/tailable_skip_limit.js @@ -55,7 +55,9 @@ assert.eq(7, cursor.next()["_id"]); // Tailable with negative limit is an error. - assert.throws(function() { t.find().addOption(2).limit(-100).next(); }); + assert.throws(function() { + t.find().addOption(2).limit(-100).next(); + }); // Tests that a tailable cursor over an empty capped collection produces a dead cursor, intended // to be run on both mongod and mongos. For SERVER-20720. |