Skip to content

Commit 28f2dcb

Browse files
TrottMylesBorins
authored andcommitted
test: update test-dns error message
test-dns is in the internet suite and therefore is rarely run. (That will change soon. We will run internet tests nightly in CI.) Because it is infrequently run, it was not noticed that it no longer passes. (An error message has changed to provide more information.) This change fixes the test so it passes. PR-URL: #21116 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 66f4c7b commit 28f2dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/internet/test-dns.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function checkWrap(req) {
7070
TEST(function test_reverse_bogus(done) {
7171
assert.throws(() => {
7272
dns.reverse('bogus ip', common.mustNotCall());
73-
}, /^Error: getHostByAddr EINVAL$/);
73+
}, /^Error: getHostByAddr EINVAL bogus ip$/);
7474
done();
7575
});
7676

0 commit comments

Comments
 (0)