Commit 4d3b487b authored by Adrian Estrada's avatar Adrian Estrada Committed by Italo A. Casas
Browse files

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: default avatarItalo A. Casas <me@italoacasas.com>
Reviewed-By: default avatarSakthipriyan Vairamani <thechargingvolcano@gmail.com>
parent 1b2d3f7a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment