diff options
author | Rich Trott <rtrott@gmail.com> | 2015-12-26 22:45:46 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2015-12-30 11:45:34 -0800 |
commit | a030c5cf49c143545258b9f2d67e566cb2bfcdfd (patch) | |
tree | c21849bc4247fa0859fc75b85d16b3f0fbc52555 /test/sequential/test-stream2-stderr-sync.js | |
parent | 1a004f11874d3e3100a5bedfa1a1ec7c43e1e641 (diff) | |
download | android-node-v8-a030c5cf49c143545258b9f2d67e566cb2bfcdfd.tar.gz android-node-v8-a030c5cf49c143545258b9f2d67e566cb2bfcdfd.tar.bz2 android-node-v8-a030c5cf49c143545258b9f2d67e566cb2bfcdfd.zip |
test: remove unused assert module imports
Many test modules load assert but do not use it. This change removes
those instances.
It also removes a handful of other unused variables when they were
nearby.
PR-URL: https://github.com/nodejs/node/pull/4438
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/sequential/test-stream2-stderr-sync.js')
-rw-r--r-- | test/sequential/test-stream2-stderr-sync.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/sequential/test-stream2-stderr-sync.js b/test/sequential/test-stream2-stderr-sync.js index 0889a38ed3..c7daaa6b08 100644 --- a/test/sequential/test-stream2-stderr-sync.js +++ b/test/sequential/test-stream2-stderr-sync.js @@ -2,10 +2,6 @@ // Make sure that sync writes to stderr get processed before exiting. require('../common'); -var assert = require('assert'); -var util = require('util'); - -var errnoException = util._errnoException; function parent() { var spawn = require('child_process').spawn; |