diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-21 01:22:27 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-02-28 18:31:10 +0100 |
commit | 9edce1e12a7b69e7986dd15fce18d6e46590161a (patch) | |
tree | c5d37d8016a27bab698520ecc51cda4f7ad99d40 /test/parallel/test-stream-readable-event.js | |
parent | 7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff) | |
download | android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.gz android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.bz2 android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.zip |
benchmark,doc,lib,test: capitalize comments
This updates a lot of comments.
PR-URL: https://github.com/nodejs/node/pull/26223
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'test/parallel/test-stream-readable-event.js')
-rw-r--r-- | test/parallel/test-stream-readable-event.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-stream-readable-event.js b/test/parallel/test-stream-readable-event.js index 73ca80400a..8276e7ce4d 100644 --- a/test/parallel/test-stream-readable-event.js +++ b/test/parallel/test-stream-readable-event.js @@ -58,7 +58,7 @@ const Readable = require('stream').Readable; r.push(Buffer.from('bl')); setTimeout(function() { - // assert we're testing what we think we are + // Assert we're testing what we think we are assert(r._readableState.reading); r.on('readable', common.mustCall()); }, 1); @@ -78,14 +78,14 @@ const Readable = require('stream').Readable; r.push(null); setTimeout(function() { - // assert we're testing what we think we are + // Assert we're testing what we think we are assert(!r._readableState.reading); r.on('readable', common.mustCall()); }, 1); } { - // pushing a empty string in non-objectMode should + // Pushing an empty string in non-objectMode should // trigger next `read()`. const underlyingData = ['', 'x', 'y', '', 'z']; const expected = underlyingData.filter((data) => data); |