mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: improve tests for test-http-url.parse
PR-URL: https://github.com/nodejs/node/pull/18523 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
9c818cfa83
commit
10dc25df83
8 files changed
+24
-67
No files matched your search
@@ -42,7 +42,7 @@ function check(request) {
|
||||
|
||||
const server = https.createServer(httpsOptions, function(request, response) {
|
||||
// run the check function
|
||||
check.call(this, request, response);
|
||||
check(request);
|
||||
response.writeHead(200, {});
|
||||
response.end('ok');
|
||||
server.close();
|
||||
|
||||
Reference in new issue
Block a user