From 11dae6c0d7d0985d7732a50fa674b88e44297c74 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sat, 3 Feb 2018 18:27:21 +0800 Subject: [PATCH] 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. --- test/internet/test-dns-any.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/internet/test-dns-any.js b/test/internet/test-dns-any.js index dd80e48bf44e91..a83040801f38f4 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) {