summaryrefslogtreecommitdiff
path: root/test/parallel/test-domain-top-level-error-handler-throw.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-12-23 16:02:12 -0800
committerRich Trott <rtrott@gmail.com>2015-12-26 18:00:02 -0800
commit082cc8d6d8f5c7c797e58cefeb475b783c730635 (patch)
tree6541746300be05ebb421dfe4098ff9587b95667a /test/parallel/test-domain-top-level-error-handler-throw.js
parent686a85ff43471e66b1ba071a4710f362b2ccac0a (diff)
downloadandroid-node-v8-082cc8d6d8f5c7c797e58cefeb475b783c730635.tar.gz
android-node-v8-082cc8d6d8f5c7c797e58cefeb475b783c730635.tar.bz2
android-node-v8-082cc8d6d8f5c7c797e58cefeb475b783c730635.zip
test: remove unnecessary assignments
common.js needs to be loaded in all tests so that there is checking for variable leaks and possibly other things. However, it does not need to be assigned to a variable if nothing in common.js is referred to elsewhere in the test. PR-URL: https://github.com/nodejs/node/pull/4408 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-top-level-error-handler-throw.js')
-rw-r--r--test/parallel/test-domain-top-level-error-handler-throw.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-domain-top-level-error-handler-throw.js b/test/parallel/test-domain-top-level-error-handler-throw.js
index 8f63c94295..4bde30d17c 100644
--- a/test/parallel/test-domain-top-level-error-handler-throw.js
+++ b/test/parallel/test-domain-top-level-error-handler-throw.js
@@ -7,7 +7,7 @@
* top-level error handler, not the one from the previous error.
*/
-const common = require('../common');
+require('../common');
const domainErrHandlerExMessage = 'exception from domain error handler';
const internalExMessage = 'You should NOT see me';