diff options
Diffstat (limited to 'test/parallel/test-net-server-listen-handle.js')
-rw-r--r-- | test/parallel/test-net-server-listen-handle.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-net-server-listen-handle.js b/test/parallel/test-net-server-listen-handle.js index 0d59bd76ca..58f9d2ae37 100644 --- a/test/parallel/test-net-server-listen-handle.js +++ b/test/parallel/test-net-server-listen-handle.js @@ -53,7 +53,7 @@ function randomHandle(type) { assert.fail(`unable to bind ${handleName}: ${getSystemErrorName(errno)}`); } - if (!common.isWindows) { // fd doesn't work on windows + if (!common.isWindows) { // `fd` doesn't work on Windows. // err >= 0 but fd = -1, should not happen assert.notStrictEqual(handle.fd, -1, `Bound ${handleName} has fd -1 and errno ${errno}`); @@ -82,7 +82,7 @@ function randomPipes(number) { // Not a public API, used by child_process if (!common.isWindows) { // Windows doesn't support {fd: <n>} - const handles = randomPipes(2); // generate pipes in advance + const handles = randomPipes(2); // Generate pipes in advance // Test listen(pipe) net.createServer() .listen(handles[0]) @@ -120,7 +120,7 @@ if (!common.isWindows) { // Windows doesn't support {fd: <n>} } if (!common.isWindows) { // Windows doesn't support {fd: <n>} - const handles = randomPipes(6); // generate pipes in advance + const handles = randomPipes(6); // Generate pipes in advance // Test listen({handle: pipe}, cb) net.createServer() .listen({ handle: handles[0] }, closePipeServer(handles[0])); |