Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: fix test no default message for assert.fail() in 8.x
  • Loading branch information
MylesBorins committed Nov 3, 2018
commit 38ef81d4c82249c30020daee6ff8ffeb5fce8b56
2 changes: 1 addition & 1 deletion test/parallel/test-assert-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ common.crashOnUnhandledRejection();

(async () => {
await assert.rejects(
async () => assert.fail(),
async () => assert.fail('Failed'),
common.expectsError({
code: 'ERR_ASSERTION',
type: assert.AssertionError,
Expand Down