Skip to content

Commit 04f3751

Browse files
Damon OehlmanJames Halliday
Damon Oehlman
authored and
James Halliday
committed
should throw --> should not throw for the doesNotThrow assertion
1 parent dcf6b46 commit 04f3751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Test.prototype.doesNotThrow = function (fn, expected, msg, extra) {
413413
caught = { error : err };
414414
}
415415
this._assert(!caught, {
416-
message : defined(msg, 'should throw'),
416+
message : defined(msg, 'should not throw'),
417417
operator : 'throws',
418418
actual : caught && caught.error,
419419
expected : expected,

0 commit comments

Comments
 (0)