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 authored and Myles Borins committed 2016-01-12 10:39:44 -08:00
1 parent 102fb7d3a1
commit f28a640505
4 files changed
-4

No files matched your search

-1
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);
-1
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);
-1
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);
-1
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);