diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-07 01:03:53 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-10 00:44:40 +0100 |
commit | f8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch) | |
tree | c73128074daa65d2e72e4d2a86a5b08059888144 /test/pummel | |
parent | 01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff) | |
download | android-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/pummel')
-rw-r--r-- | test/pummel/test-net-timeout.js | 2 | ||||
-rw-r--r-- | test/pummel/test-stream-pipe-multi.js | 6 | ||||
-rw-r--r-- | test/pummel/test-timers.js | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/pummel/test-net-timeout.js b/test/pummel/test-net-timeout.js index 524322440a..59a8d50f79 100644 --- a/test/pummel/test-net-timeout.js +++ b/test/pummel/test-net-timeout.js @@ -59,7 +59,7 @@ echo_server.listen(common.PORT, () => { const client = net.createConnection(common.PORT); client.setEncoding('UTF8'); - client.setTimeout(0); // disable the timeout for client + client.setTimeout(0); // Disable the timeout for client client.on('connect', () => { console.log('client connected.'); client.write('hello\r\n'); diff --git a/test/pummel/test-stream-pipe-multi.js b/test/pummel/test-stream-pipe-multi.js index 2767028c4b..f8fb7c9cc8 100644 --- a/test/pummel/test-stream-pipe-multi.js +++ b/test/pummel/test-stream-pipe-multi.js @@ -64,7 +64,7 @@ FakeStream.prototype.close = function() { }; -// expect all streams to close properly. +// Expect all streams to close properly. process.on('exit', function() { assert.strictEqual(wclosed, cnt); assert.strictEqual(rclosed, cnt); @@ -93,8 +93,8 @@ for (let i = 0; i < cnt; i++) { r.pipe(w); } -// now start passing through data -// simulate a relatively fast async stream. +// Now start passing through data. +// Simulate a relatively fast async stream. rr.forEach(function(r) { let cnt = chunks; let paused = false; diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js index 6b761f455d..8a8646b323 100644 --- a/test/pummel/test-timers.js +++ b/test/pummel/test-timers.js @@ -23,11 +23,11 @@ const common = require('../common'); const assert = require('assert'); -const WINDOW = 200; // why is does this need to be so big? +const WINDOW = 200; // Why is does this need to be so big? let interval_count = 0; -// check that these don't blow up. +// Check that these don't blow up. clearTimeout(null); clearInterval(null); |