diff --git a/lib/chai/core/assertions.js b/lib/chai/core/assertions.js index bc6156a03..fa1241d8c 100644 --- a/lib/chai/core/assertions.js +++ b/lib/chai/core/assertions.js @@ -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