summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-destroyed-socket-write2.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-12-25 15:32:13 -0800
committerRich Trott <rtrott@gmail.com>2015-12-28 16:17:24 -0800
commitabe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6 (patch)
tree2f6a33d60eef6a3e4e2b9e95ee7279d16d51022c /test/parallel/test-http-destroyed-socket-write2.js
parent5d6f558ea669507f880e0e50e12e8be50d115d56 (diff)
downloadandroid-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-destroyed-socket-write2.js')
-rw-r--r--test/parallel/test-http-destroyed-socket-write2.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-http-destroyed-socket-write2.js b/test/parallel/test-http-destroyed-socket-write2.js
index 5bbb3bbc94..9065939ccb 100644
--- a/test/parallel/test-http-destroyed-socket-write2.js
+++ b/test/parallel/test-http-destroyed-socket-write2.js
@@ -6,7 +6,6 @@ var assert = require('assert');
// where the server has ended the socket.
var http = require('http');
-var net = require('net');
var server = http.createServer(function(req, res) {
setImmediate(function() {
res.destroy();