Commit 3a1e67dc authored by cjihrig's avatar cjihrig
Browse files

test: refactor test-dgram-address.js

- separate the IPv4 and IPv6 tests using block scopes
- use common.mustCall() and arrow functions for callbacks
- add coverage for case where address() throws

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


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent fd18b656
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