summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-url.parse-auth-with-header-in-request.js
diff options
context:
space:
mode:
authorWeijia Wang <381152119@qq.com>2018-02-02 17:37:25 +0800
committerWeijia Wang <381152119@qq.com>2018-02-06 15:02:38 +0800
commit4a881e04dc1659669d2e84d2307abc1b9d9cbbd1 (patch)
tree82b174837065089469c77c41b0701f1d92c249ab /test/parallel/test-http-url.parse-auth-with-header-in-request.js
parentca473be461b87a9a6a020d9b78225139251c54c4 (diff)
downloadnode-new-4a881e04dc1659669d2e84d2307abc1b9d9cbbd1.tar.gz
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>
Diffstat (limited to 'test/parallel/test-http-url.parse-auth-with-header-in-request.js')
-rw-r--r--test/parallel/test-http-url.parse-auth-with-header-in-request.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-url.parse-auth-with-header-in-request.js b/test/parallel/test-http-url.parse-auth-with-header-in-request.js
index b91dc14383..c10f5ed7b0 100644
--- a/test/parallel/test-http-url.parse-auth-with-header-in-request.js
+++ b/test/parallel/test-http-url.parse-auth-with-header-in-request.js
@@ -32,7 +32,7 @@ function check(request) {
const server = http.createServer(function(request, response) {
// run the check function
- check.call(this, request, response);
+ check(request);
response.writeHead(200, {});
response.end('ok');
server.close();