Skip to content

Commit ef2d9c2

Browse files
joyeecheungMylesBorins
authored andcommitted
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: #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>
1 parent a33dc81 commit ef2d9c2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/internet/test-dns-any.js

-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ const checkers = {
5959
checkTXT(r) {
6060
assert.ok(Array.isArray(r.entries));
6161
assert.ok(r.entries.length > 0);
62-
r.entries.forEach((txt) => {
63-
assert(txt.startsWith('v=spf1'));
64-
});
6562
assert.strictEqual(r.type, 'TXT');
6663
},
6764
checkSOA(r) {

0 commit comments

Comments
 (0)