diff options
author | Rich Trott <rtrott@gmail.com> | 2015-12-25 15:32:13 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2015-12-28 16:17:24 -0800 |
commit | abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6 (patch) | |
tree | 2f6a33d60eef6a3e4e2b9e95ee7279d16d51022c /test/parallel/test-http-proxy.js | |
parent | 5d6f558ea669507f880e0e50e12e8be50d115d56 (diff) | |
download | android-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.tar.gz android-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.tar.bz2 android-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.zip |
test: remove unused variables form http tests
The http tests seem especially prone to including unused variables.
This change removes them.
PR-URL: https://github.com/nodejs/node/pull/4422
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-http-proxy.js')
-rw-r--r-- | test/parallel/test-http-proxy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-proxy.js b/test/parallel/test-http-proxy.js index fc8a753f24..8a579cd69a 100644 --- a/test/parallel/test-http-proxy.js +++ b/test/parallel/test-http-proxy.js @@ -25,7 +25,7 @@ var backend = http.createServer(function(req, res) { var proxy = http.createServer(function(req, res) { console.error('proxy req headers: ' + JSON.stringify(req.headers)); - var proxy_req = http.get({ + http.get({ port: BACKEND_PORT, path: url.parse(req.url).pathname }, function(proxy_res) { @@ -56,7 +56,7 @@ function startReq() { nlistening++; if (nlistening < 2) return; - var client = http.get({ + http.get({ port: PROXY_PORT, path: '/test' }, function(res) { |