Skip to content

Commit

Permalink
Update assertions.js
Browse files Browse the repository at this point in the history
removed 'out of range' reference error
  • Loading branch information
Pklong committed Nov 2, 2015
1 parent b8d2203 commit d6d4f7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ module.exports = function (chai, _) {
* expect(fn).to.not.throw('good function');
* expect(fn).to.throw(ReferenceError, /bad function/);
* expect(fn).to.throw(err);
* expect(fn).to.not.throw(new RangeError('Out of range.'));
*
* Please note that when a throw expectation is negated, it will check each
* parameter independently, starting with error constructor type. The appropriate way
Expand Down

0 comments on commit d6d4f7d

Please sign in to comment.