mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
202 files changed
+348
-349
No files matched your search
@@ -71,7 +71,7 @@ test(function serverRequestTimeout(cb) {
|
||||
const server = https.createServer(
|
||||
serverOptions,
|
||||
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();
|
||||
@@ -95,7 +95,7 @@ test(function serverResponseTimeout(cb) {
|
||||
const server = https.createServer(
|
||||
serverOptions,
|
||||
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();
|
||||
@@ -115,7 +115,7 @@ test(function serverRequestNotTimeoutAfterEnd(cb) {
|
||||
const server = https.createServer(
|
||||
serverOptions,
|
||||
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());
|
||||
|
||||
Reference in new issue
Block a user