test: do not check TXT content in test-dns-any
google.com added another TXT record which broke this test. This removes the check on the content of the TXT record since that depends on an external state subject to change. PR-URL: https://github.com/nodejs/node/pull/18547 Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
d797775fb8
commit
e542920467
@ -59,9 +59,6 @@ const checkers = {
|
||||
checkTXT(r) {
|
||||
assert.ok(Array.isArray(r.entries));
|
||||
assert.ok(r.entries.length > 0);
|
||||
r.entries.forEach((txt) => {
|
||||
assert(txt.startsWith('v=spf1'));
|
||||
});
|
||||
assert.strictEqual(r.type, 'TXT');
|
||||
},
|
||||
checkSOA(r) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user