Skip to content

Commit

Permalink
test: update test-dns error message
Browse files Browse the repository at this point in the history
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 <apapirovski@mac.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Trott authored and addaleax committed Jun 3, 2018
1 parent 75f6ef9 commit 60eeba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internet/test-dns.js
Expand Up @@ -70,7 +70,7 @@ function checkWrap(req) {
TEST(function test_reverse_bogus(done) {
assert.throws(() => {
dns.reverse('bogus ip', common.mustNotCall());
}, /^Error: getHostByAddr EINVAL$/);
}, /^Error: getHostByAddr EINVAL bogus ip$/);
done();
});

Expand Down

0 comments on commit 60eeba4

Please sign in to comment.