diff options
Diffstat (limited to 'test/parallel/test-zlib-random-byte-pipes.js')
-rw-r--r-- | test/parallel/test-zlib-random-byte-pipes.js | 8 |
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(); |