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:
Joyee Cheung 2018-02-03 18:27:21 +08:00
parent d797775fb8
commit e542920467
No known key found for this signature in database
GPG Key ID: F586868AAD831D0C

View File

@ -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) {