summaryrefslogtreecommitdiff
path: root/test/internet
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-02-03 18:27:21 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-02-07 21:57:06 +0800
commite5429204679cab10cd4ee28d5dfec9026a91a6d1 (patch)
treedf527481ec65d9e5be2bbfb87d1452eb760fced0 /test/internet
parentd797775fb82caae5f721140625dfb0f984ce929e (diff)
downloadnode-new-e5429204679cab10cd4ee28d5dfec9026a91a6d1.tar.gz
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>
Diffstat (limited to 'test/internet')
-rw-r--r--test/internet/test-dns-any.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/internet/test-dns-any.js b/test/internet/test-dns-any.js
index dd80e48bf4..a83040801f 100644
--- a/test/internet/test-dns-any.js
+++ b/test/internet/test-dns-any.js
@@ -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) {