diff options
author | Adrian Estrada <edsadr@gmail.com> | 2016-12-19 19:41:27 -0500 |
---|---|---|
committer | Italo A. Casas <me@italoacasas.com> | 2016-12-28 13:03:46 -0500 |
commit | 4d3b487b791606ea965f6280ce0eeea03d79b660 (patch) | |
tree | cce59db07a7a6a54b0b6bfa232c515f87d47be0f /deps/npm/lib/install.js | |
parent | 1b2d3f7ae7f0391908b70b0333a5adef3c8cb79d (diff) | |
download | node-new-4d3b487b791606ea965f6280ce0eeea03d79b660.tar.gz |
test: refactor the code in test-dns-ipv4
* 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/10200
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'deps/npm/lib/install.js')
0 files changed, 0 insertions, 0 deletions