From d6d4f7d0ab6a84ef7902d77a5ba71a06b9853a5d Mon Sep 17 00:00:00 2001 From: Patrick Kovach-Long Date: Mon, 2 Nov 2015 08:05:59 -0500 Subject: [PATCH] Update assertions.js removed 'out of range' reference error --- lib/chai/core/assertions.js | 1 - 1 file changed, 1 deletion(-) 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