diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:17:50 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:18:14 -0500 |
commit | 4ae691e8edc87d0e3cfb633bb91c328426be007b (patch) | |
tree | 52079a593f54382ca13a2e741633eab1b6271893 /jstests/core/tailable_skip_limit.js | |
parent | a025d43f3ce2efc1fb1282a718f5d286fa0a4dc1 (diff) | |
download | mongo-4ae691e8edc87d0e3cfb633bb91c328426be007b.tar.gz |
SERVER-22468 Format JS code with approved style in jstests/
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. |