Permalink
Browse files

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 <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 60eeba4194cf878cd3c33e1745962245bb8cb0e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/internet/test-dns.js
@@ -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();
});

0 comments on commit 60eeba4

Please sign in to comment.