summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-localerror.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-12-26 13:48:54 -0800
committerRich Trott <rtrott@gmail.com>2015-12-29 11:16:21 -0800
commit1762db0142b137d0dcc949cd38894a2b07adf18a (patch)
treec70e09bbf0dd2778c974c0785e5dd57341233a7e /test/parallel/test-net-localerror.js
parent2b1999b7c7b32931b14cc8df554fc4fa46950ecc (diff)
downloadandroid-node-v8-1762db0142b137d0dcc949cd38894a2b07adf18a.tar.gz
android-node-v8-1762db0142b137d0dcc949cd38894a2b07adf18a.tar.bz2
android-node-v8-1762db0142b137d0dcc949cd38894a2b07adf18a.zip
test: remove unused variables from net tests
Remove a handful of variables that are declared but never used in the tests for the net module. PR-URL: https://github.com/nodejs/node/pull/4430 Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-net-localerror.js')
-rw-r--r--test/parallel/test-net-localerror.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-localerror.js b/test/parallel/test-net-localerror.js
index 45ec1fc909..ed7c9471e0 100644
--- a/test/parallel/test-net-localerror.js
+++ b/test/parallel/test-net-localerror.js
@@ -17,6 +17,6 @@ connect({
function connect(opts, msg) {
assert.throws(function() {
- var client = net.connect(opts);
+ net.connect(opts);
}, msg);
}