Skip to content

Commit 6e456f1

Browse files
committed
test: remove obsolete argument
assert.strictEqual can either have two or three arguments, not four.
1 parent a3e6194 commit 6e456f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-assert.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,7 @@ assert.throws(makeBlock(thrower, TypeError));
433433
assert.ok(e instanceof TypeError, 'type');
434434
}
435435
assert.strictEqual(true, threw,
436-
'a.throws with an explicit error is eating extra errors',
437-
a.AssertionError);
436+
'a.throws with an explicit error is eating extra errors');
438437
}
439438

440439
// doesNotThrow should pass through all errors

0 commit comments

Comments
 (0)