summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-06-16 11:02:49 -0700
committerisaacs <i@izs.me>2012-06-16 11:02:49 -0700
commita90bc78534d94940a6b726c01cf8427c296b4c63 (patch)
treeecf109a1e7668bce891b4e9595b49c5eadd04b6a /test
parent91bf18fcc5340262d0672dbebcc1a34bc4a8cd95 (diff)
downloadnodejs-a90bc78534d94940a6b726c01cf8427c296b4c63.tar.gz
nodejs-a90bc78534d94940a6b726c01cf8427c296b4c63.tar.bz2
nodejs-a90bc78534d94940a6b726c01cf8427c296b4c63.zip
Revert "DNS: Support NAPTR queries"
This reverts commit 91bf18fcc5340262d0672dbebcc1a34bc4a8cd95.
Diffstat (limited to 'test')
-rw-r--r--test/internet/test-dns.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/internet/test-dns.js b/test/internet/test-dns.js
index 1e87bc748..e0d5486c8 100644
--- a/test/internet/test-dns.js
+++ b/test/internet/test-dns.js
@@ -219,30 +219,6 @@ TEST(function test_resolveSrv(done) {
checkWrap(req);
});
-TEST(function test_resolveNaptr(done) {
- var req = dns.resolveNaptr('sip.voice.google.com', function(err, result) {
- if (err) throw err;
-
- assert.ok(result.length > 0);
-
- for (var i = 0; i < result.length; i++) {
- var item = result[i];
- assert.ok(item);
- assert.ok(typeof item === 'object');
-
- assert.ok(typeof item.flags === 'string');
- assert.ok(typeof item.service === 'string');
- assert.ok(typeof item.regexp === 'string');
- assert.ok(typeof item.replacement === 'string');
- assert.ok(typeof item.order === 'number');
- assert.ok(typeof item.preference === 'number');
- }
-
- done();
- });
-
- checkWrap(req);
-});
TEST(function test_resolveCname(done) {
var req = dns.resolveCname('www.google.com', function(err, names) {