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-child-process-disconnect.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-child-process-disconnect.js')
-rw-r--r-- | test/parallel/test-child-process-disconnect.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-child-process-disconnect.js b/test/parallel/test-child-process-disconnect.js index 7ba30b28db..fb8a2dd0ea 100644 --- a/test/parallel/test-child-process-disconnect.js +++ b/test/parallel/test-child-process-disconnect.js @@ -80,7 +80,7 @@ if (process.argv[2] === 'child') { // The process should also self terminate without using signals child.on('exit', common.mustCall()); - // when child is listening + // When child is listening child.on('message', function(obj) { if (obj && obj.msg === 'ready') { @@ -90,7 +90,7 @@ if (process.argv[2] === 'child') { socket.on('data', function(data) { data = data.toString(); - // ready to be disconnected + // Ready to be disconnected if (data === 'ready') { child.disconnect(); assert.throws( @@ -101,7 +101,7 @@ if (process.argv[2] === 'child') { return; } - // disconnect is emitted + // 'disconnect' is emitted childFlag = (data === 'true'); }); |