diff options
Diffstat (limited to 'test/simple/test-c-ares.js')
-rw-r--r-- | test/simple/test-c-ares.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/simple/test-c-ares.js b/test/simple/test-c-ares.js index f46ef24c96..8f93e89b8e 100644 --- a/test/simple/test-c-ares.js +++ b/test/simple/test-c-ares.js @@ -7,12 +7,12 @@ var dns = require("dns"); // Try resolution without callback dns.getHostByName('localhost', function (error, result) { - p(result); + common.p(result); assert.deepEqual(['127.0.0.1'], result); }); dns.getHostByName('127.0.0.1', function (error, result) { - p(result); + common.p(result); assert.deepEqual(['127.0.0.1'], result); }); @@ -33,7 +33,7 @@ dns.lookup('::1', function (error, result, addressType) { dns.lookup('ipv6.google.com', function (error, result, addressType) { if (error) throw error; - p(arguments); + common.p(arguments); //assert.equal('string', typeof result); assert.equal(6, addressType); }); |