mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02: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:
parent
7b674697d8
commit
9edce1e12a
200 changed files with 346 additions and 347 deletions
|
@ -33,7 +33,7 @@ function check(request) {
|
|||
assert.strictEqual(request.method, 'GET');
|
||||
// There are no URL params, so you should not see any
|
||||
assert.strictEqual(request.url, '/');
|
||||
// the host header should use the url.parse.hostname
|
||||
// The host header should use the url.parse.hostname
|
||||
assert.strictEqual(request.headers.host,
|
||||
`${testURL.hostname}:${testURL.port}`);
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ server.listen(0, function() {
|
|||
|
||||
// make the request
|
||||
const clientRequest = http.request(testURL);
|
||||
// since there is a little magic with the agent
|
||||
// Since there is a little magic with the agent
|
||||
// make sure that an http request uses the http.Agent
|
||||
assert.ok(clientRequest.agent instanceof http.Agent);
|
||||
clientRequest.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue