This commit is contained in:
isaacs 2013-04-30 15:02:19 -07:00
parent 201baa273b
commit 0b8af89363

View File

@ -42,7 +42,7 @@ assert.AssertionError = function AssertionError(options) {
this.actual = options.actual;
this.expected = options.expected;
this.operator = options.operator;
this.message = options.message || getMessage(this)
this.message = options.message || getMessage(this);
var stackStartFunction = options.stackStartFunction || fail;
Error.captureStackTrace(this, stackStartFunction);
};