mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
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>
This commit is contained in:
parent
5d6f558ea6
commit
abe8a344a5
29 changed files with 9 additions and 39 deletions
|
@ -17,7 +17,7 @@ var server = http.createServer(function(req, res) {
|
|||
});
|
||||
|
||||
server.listen(common.PORT, '127.0.0.1', function() {
|
||||
var req = http.request({
|
||||
http.request({
|
||||
host: 'localhost',
|
||||
port: common.PORT,
|
||||
path: '/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue