test: only include http module once

A few tests in test/gc include the http module twice. Remove duplicate
require().

PR-URL: https://github.com/nodejs/node/pull/4606
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Rich Trott 2016-01-09 21:12:15 -08:00 committed by James M Snell
parent a2e77cedef
commit 521f51ac1c
4 changed files with 0 additions and 4 deletions

View File

@ -18,7 +18,6 @@ var http = require('http'),
console.log('We should do ' + todo + ' requests');
var http = require('http');
var server = http.createServer(serverHandler);
server.listen(PORT, getall);

View File

@ -20,7 +20,6 @@ var http = require('http'),
console.log('We should do ' + todo + ' requests');
var http = require('http');
var server = http.createServer(serverHandler);
server.listen(PORT, runTest);

View File

@ -22,7 +22,6 @@ var http = require('http'),
console.log('We should do ' + todo + ' requests');
var http = require('http');
var server = http.createServer(serverHandler);
server.listen(PORT, getall);

View File

@ -18,7 +18,6 @@ var http = require('http'),
console.log('We should do ' + todo + ' requests');
var http = require('http');
var server = http.createServer(serverHandler);
server.listen(PORT, getall);