Browse Source

lint

v0.11.2-release
isaacs 12 years ago
parent
commit
c77312405e
  1. 2
      lib/assert.js

2
lib/assert.js

@ -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…
Cancel
Save