summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-set-timeout-server.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-01-21 01:22:27 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-02-28 18:31:10 +0100
commit9edce1e12a7b69e7986dd15fce18d6e46590161a (patch)
treec5d37d8016a27bab698520ecc51cda4f7ad99d40 /test/parallel/test-http-set-timeout-server.js
parent7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff)
downloadandroid-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-http-set-timeout-server.js')
-rw-r--r--test/parallel/test-http-set-timeout-server.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-http-set-timeout-server.js b/test/parallel/test-http-set-timeout-server.js
index 7984fdfc0f..793046e57f 100644
--- a/test/parallel/test-http-set-timeout-server.js
+++ b/test/parallel/test-http-set-timeout-server.js
@@ -58,7 +58,7 @@ test(function serverTimeout(cb) {
test(function serverRequestTimeout(cb) {
const server = http.createServer(common.mustCall((req, res) => {
- // just do nothing, we should get a timeout event.
+ // Just do nothing, we should get a timeout event.
const s = req.setTimeout(50, common.mustCall((socket) => {
socket.destroy();
server.close();
@@ -79,7 +79,7 @@ test(function serverRequestTimeout(cb) {
test(function serverResponseTimeout(cb) {
const server = http.createServer(common.mustCall((req, res) => {
- // just do nothing, we should get a timeout event.
+ // Just do nothing, we should get a timeout event.
const s = res.setTimeout(50, common.mustCall((socket) => {
socket.destroy();
server.close();
@@ -96,7 +96,7 @@ test(function serverResponseTimeout(cb) {
test(function serverRequestNotTimeoutAfterEnd(cb) {
const server = http.createServer(common.mustCall((req, res) => {
- // just do nothing, we should get a timeout event.
+ // Just do nothing, we should get a timeout event.
const s = req.setTimeout(50, common.mustNotCall());
assert.ok(s instanceof http.IncomingMessage);
res.on('timeout', common.mustCall());