Skip to content

Commit 58981fe

Browse files
committed
test: fix stale IP, new err code
1 parent c2cd436 commit 58981fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/get_mx.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('get_mx', function () {
5151
// macOS: ENODATA, win: ENOTOUND, ubuntu: ESERVFAIL
5252
const invalidCases = {
5353
invalid: /queryMx (ENODATA|ENOTFOUND|ESERVFAIL) invalid/,
54-
'gmail.xn--com-0da': /(ENOTFOUND|Cannot convert name to ASCII)/,
54+
'gmail.xn--com-0da': /(ENOTFOUND|ENOMEM|Cannot convert name to ASCII)/,
5555
'non-exist.haraka.tnpi.net': /ignore/,
5656
'haraka.non-exist': /ignore/,
5757
}
@@ -92,7 +92,7 @@ describe('get_mx', function () {
9292

9393
const expectedResolvedMx = [
9494
{
95-
exchange: '2605:ae00:329::14',
95+
exchange: '2605:ae00:329::6',
9696
priority: 10,
9797
from_dns: 'mail.theartfarm.com',
9898
},

0 commit comments

Comments
 (0)