Skip to content

Commit

Permalink
test: remove obsolete argument
Browse files Browse the repository at this point in the history
assert.strictEqual can either have two or three arguments, not four.
  • Loading branch information
BridgeAR committed Jul 8, 2017
1 parent a3e6194 commit 6e456f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@ assert.throws(makeBlock(thrower, TypeError));
assert.ok(e instanceof TypeError, 'type');
}
assert.strictEqual(true, threw,
'a.throws with an explicit error is eating extra errors',
a.AssertionError);
'a.throws with an explicit error is eating extra errors');
}

// doesNotThrow should pass through all errors
Expand Down

0 comments on commit 6e456f1

Please sign in to comment.