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