diff options
author | Rich Trott <rtrott@gmail.com> | 2015-12-26 22:08:08 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-01-05 08:59:58 -0800 |
commit | bc39d6a3a61e9217839f2cecf0aab8a2f2a96077 (patch) | |
tree | e277759be44cc92f20ae4c6fbd764efa5918101d /test/parallel/test-vm-run-in-new-context.js | |
parent | a497bb5d09f79f4593d545774c9262896d3bbcf2 (diff) | |
download | android-node-v8-bc39d6a3a61e9217839f2cecf0aab8a2f2a96077.tar.gz android-node-v8-bc39d6a3a61e9217839f2cecf0aab8a2f2a96077.tar.bz2 android-node-v8-bc39d6a3a61e9217839f2cecf0aab8a2f2a96077.zip |
test: remove unused vars
Remove unused vars in tests
PR-URL: https://github.com/nodejs/node/pull/4536
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-vm-run-in-new-context.js')
-rw-r--r-- | test/parallel/test-vm-run-in-new-context.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parallel/test-vm-run-in-new-context.js b/test/parallel/test-vm-run-in-new-context.js index da14a041fa..2b32eccf40 100644 --- a/test/parallel/test-vm-run-in-new-context.js +++ b/test/parallel/test-vm-run-in-new-context.js @@ -29,7 +29,9 @@ code = 'foo = 1;' + 'if (baz !== 3) throw new Error(\'test fail\');'; foo = 2; obj = { foo: 0, baz: 3 }; +/* eslint-disable no-unused-vars */ var baz = vm.runInNewContext(code, obj); +/* eslint-enable no-unused-vars */ assert.equal(1, obj.foo); assert.equal(2, obj.bar); assert.equal(2, foo); |