Browse files

Fix test for dns.resolve('PTR')

  • Loading branch information...
1 parent 0906db7 commit a635369fb698ad11e646c244485d480a9cf04836 @koichik committed May 15, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/simple/test-c-ares.js
View
3 test/simple/test-c-ares.js
@@ -61,7 +61,6 @@ dns.lookup('ipv6.google.com', function(error, result, addressType) {
dns.resolve('127.0.0.1', 'PTR', function(error, domains) {
if (error) throw error;
- assert.equal(domains.length, 1);
- assert.equal(domains[0], 'localhost');
+ assert.ok(Array.isArray(domains));
});

0 comments on commit a635369

Please sign in to comment.