Skip to content

Commit

Permalink
should throw --> should not throw for the doesNotThrow assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Damon Oehlman authored and James Halliday committed Feb 1, 2014
1 parent dcf6b46 commit 04f3751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04f3751

Please sign in to comment.