mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/21116 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
66f4c7bdec
commit
28f2dcb22a
1 file changed
+1
-1
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user