From f8763bb077db2f0be74e353c0b4f9e353c0fffa8 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 7 Mar 2019 01:03:53 +0100 Subject: benchmark,doc,lib,test: capitalize comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26483 Reviewed-By: Vse Mozhet Byt Reviewed-By: Michaƫl Zasso --- test/parallel/test-http-agent-keepalive.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/parallel/test-http-agent-keepalive.js') diff --git a/test/parallel/test-http-agent-keepalive.js b/test/parallel/test-http-agent-keepalive.js index 4d682a89ab..7e2cef4e3e 100644 --- a/test/parallel/test-http-agent-keepalive.js +++ b/test/parallel/test-http-agent-keepalive.js @@ -62,7 +62,7 @@ function checkDataAndSockets(body) { } function second() { - // request second, use the same socket + // Request second, use the same socket get('/second', common.mustCall((res) => { assert.strictEqual(res.statusCode, 200); res.on('data', checkDataAndSockets); @@ -79,7 +79,7 @@ function second() { } function remoteClose() { - // mock remote server close the socket + // Mock remote server close the socket get('/remote_close', common.mustCall((res) => { assert.deepStrictEqual(res.statusCode, 200); res.on('data', checkDataAndSockets); @@ -89,7 +89,7 @@ function remoteClose() { process.nextTick(common.mustCall(() => { assert.strictEqual(agent.sockets[name], undefined); assert.strictEqual(agent.freeSockets[name].length, 1); - // waiting remote server close the socket + // Waiting remote server close the socket setTimeout(common.mustCall(() => { assert.strictEqual(agent.sockets[name], undefined); assert.strictEqual(agent.freeSockets[name], undefined); @@ -101,7 +101,7 @@ function remoteClose() { } function remoteError() { - // remote server will destroy the socket + // Remote server will destroy the socket const req = get('/error', common.mustNotCall()); req.on('error', common.mustCall((err) => { assert(err); -- cgit v1.2.3