node/test/parallel/test-dns-regress-6244.js
James M Snell 07b54ec4ca test: various test improvements
* Favor strictEqual
* Use const where appropriate
* Modernize where possible

PR-URL: https://github.com/nodejs/node/pull/8468
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2016-10-10 08:52:03 -07:00

7 lines
170 B
JavaScript

'use strict';
const common = require('../common');
const dns = require('dns');
// Should not segfault, see #6244.
dns.resolve4('127.0.0.1', common.mustCall(() => { }));