FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: do not check TXT content in test-dns-any · nodejs/node@bff7258 · GitHub

/ node Public

Commit bff7258

Browse files
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 Backport-PR-URL: #19706 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 daeb6de commit bff7258

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎test/internet/test-dns-any.js‎

Lines changed: 0 additions & 3 deletions
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)

Back | FazBrowse Home | New Git URL