Skip to content

Commit 5402bf4

Browse files
message removed in expected exception
1 parent 8dda92f commit 5402bf4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-dns.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,7 @@ assert.throws(() => dns.lookup('', {
244244
hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL,
245245
}), {
246246
code: 'ERR_INVALID_ARG_TYPE',
247-
name: 'TypeError',
248-
message: 'The "callback" argument must be of type function. Received undefined'
247+
name: 'TypeError'
249248
});
250249

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

0 commit comments

Comments
 (0)