Commit 97f001ab authored by Rich Trott's avatar Rich Trott
Browse files

test,net: add tests for server.connections

There were no tests confirming situations where server.connections
should return `null`. Add a test for that situation.

Expand existing server.connection test slightly to check value.

Refactor (mostly spacing) code for server.connections setter.

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


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