Commit 506cda6e authored by Akito Ito's avatar Akito Ito Committed by Ilkka Myller
Browse files

test: cleanup test-net-server-address.js

Refactored test:
- 'var' to 'const'
- functon to arrow function
- using common.mustCall() and common.fail()

PR-URL: https://github.com/nodejs/node/pull/8586


Reviewed-By: default avatarYosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarIlkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent a4d396d8
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