From 04f37515d27b0ce846f108f72930da28b45a6100 Mon Sep 17 00:00:00 2001 From: Damon Oehlman Date: Thu, 2 May 2013 14:09:41 +1000 Subject: [PATCH] should throw --> should not throw for the doesNotThrow assertion --- lib/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test.js b/lib/test.js index 9d03a887..614b67d7 100644 --- a/lib/test.js +++ b/lib/test.js @@ -413,7 +413,7 @@ Test.prototype.doesNotThrow = function (fn, expected, msg, extra) { caught = { error : err }; } this._assert(!caught, { - message : defined(msg, 'should throw'), + message : defined(msg, 'should not throw'), operator : 'throws', actual : caught && caught.error, expected : expected,