diff options
author | isaacs <i@izs.me> | 2012-06-16 11:02:49 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-16 11:02:49 -0700 |
commit | a90bc78534d94940a6b726c01cf8427c296b4c63 (patch) | |
tree | ecf109a1e7668bce891b4e9595b49c5eadd04b6a /test | |
parent | 91bf18fcc5340262d0672dbebcc1a34bc4a8cd95 (diff) | |
download | nodejs-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.js | 24 |
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) { |