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:
Weijia Wang authored and Myles Borins committed 2018-02-21 10:19:21 -05:00
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();