mirror of https://github.com/nodejs/node.git
lint
parent
cf0fa96db8
commit
c77312405e
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue