test: refactor the code in test-dns-ipv6
* remove the manual control for functions execution * use common.mustCall to control the functions execution automatically * use let and const instead of var * use assert.strictEqual instead assert.equal PR-URL: https://github.com/nodejs/node/pull/10219 Reviewed-By:Santiago Gimeno <santiago.gimeno@gmail.com>
parent
8b367c5d
Please register or sign in to comment