diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-22 03:44:26 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-27 17:20:06 +0100 |
commit | b08a867d6016ccf04783a0f91fdbcc3460daf234 (patch) | |
tree | 5df4b30220cde5ae5eac9ed956c9badac6ba08af /test/parallel/test-net-server-listen-handle.js | |
parent | fd992e6e36bb4b01a6ceb71cfeb3bae640b492a6 (diff) | |
download | android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.gz android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.bz2 android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.zip |
benchmark,doc,lib: capitalize more comments
PR-URL: https://github.com/nodejs/node/pull/26849
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
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])); |