summaryrefslogtreecommitdiff
path: root/test/parallel/test-zlib-random-byte-pipes.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-07 01:03:53 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-10 00:44:40 +0100
commitf8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch)
treec73128074daa65d2e72e4d2a86a5b08059888144 /test/parallel/test-zlib-random-byte-pipes.js
parent01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff)
downloadandroid-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/parallel/test-zlib-random-byte-pipes.js')
-rw-r--r--test/parallel/test-zlib-random-byte-pipes.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-zlib-random-byte-pipes.js b/test/parallel/test-zlib-random-byte-pipes.js
index c7026163e7..0816e047bb 100644
--- a/test/parallel/test-zlib-random-byte-pipes.js
+++ b/test/parallel/test-zlib-random-byte-pipes.js
@@ -31,7 +31,7 @@ const zlib = require('zlib');
const Stream = stream.Stream;
-// emit random bytes, and keep a shasum
+// Emit random bytes, and keep a shasum
class RandomReadStream extends Stream {
constructor(opt) {
super();
@@ -50,7 +50,7 @@ class RandomReadStream extends Stream {
opt.total = opt.total || 256 * 1024 * 1024;
this._remaining = opt.total;
- // how variable to make the block sizes
+ // How variable to make the block sizes
opt.jitter = opt.jitter || 1024;
this._opt = opt;
@@ -86,7 +86,7 @@ class RandomReadStream extends Stream {
return;
}
- // figure out how many bytes to output
+ // Figure out how many bytes to output
// if finished, then just emit end.
let block = this._opt.block;
const jitter = this._opt.jitter;
@@ -110,7 +110,7 @@ class RandomReadStream extends Stream {
}
}
-// a filter that just verifies a shasum
+// A filter that just verifies a shasum
class HashStream extends Stream {
constructor() {
super();