Skip to content

Commit

Permalink
message removed in expected exception
Browse files Browse the repository at this point in the history
  • Loading branch information
paivaandeerson committed Mar 2, 2023
1 parent 8dda92f commit 5402bf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ assert.throws(() => dns.lookup('', {
hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL,
}), {
code: 'ERR_INVALID_ARG_TYPE',
name: 'TypeError',
message: 'The "callback" argument must be of type function. Received undefined'
name: 'TypeError'
});

dns.lookup('', { family: 4, hints: 0 }, common.mustCall());
Expand Down

0 comments on commit 5402bf4

Please sign in to comment.