summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-cwd.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-12-25 21:52:52 -0800
committerRich Trott <rtrott@gmail.com>2015-12-29 09:09:35 -0800
commit2b1999b7c7b32931b14cc8df554fc4fa46950ecc (patch)
treec7c0c7ea23d9bcc0dd763afdb2bc934546df1282 /test/parallel/test-child-process-cwd.js
parentfd551c3f29d08bd94271e1759c33130b8b53646c (diff)
downloadandroid-node-v8-2b1999b7c7b32931b14cc8df554fc4fa46950ecc.tar.gz
android-node-v8-2b1999b7c7b32931b14cc8df554fc4fa46950ecc.tar.bz2
android-node-v8-2b1999b7c7b32931b14cc8df554fc4fa46950ecc.zip
test: remove unused vars in ChildProcess tests
In addition to removing unused vars, this also fixes an instance where booleans were set presumably to check something but then never used. This now confirms that the events that were setting the booleans are fired. PR-URL: https://github.com/nodejs/node/pull/4425 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-child-process-cwd.js')
-rw-r--r--test/parallel/test-child-process-cwd.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-cwd.js b/test/parallel/test-child-process-cwd.js
index e0e83b6007..f13da684fb 100644
--- a/test/parallel/test-child-process-cwd.js
+++ b/test/parallel/test-child-process-cwd.js
@@ -1,8 +1,6 @@
'use strict';
var common = require('../common');
var assert = require('assert');
-var spawn = require('child_process').spawn;
-var path = require('path');
var returns = 0;