summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-client-default-ciphers.js
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2016-07-19 02:03:42 +0530
committerRich Trott <rtrott@gmail.com>2016-07-21 16:39:21 -0700
commit612307564b2f7758ad4436f95b03c05dca1198d7 (patch)
treeaef09dd1b3859f3ceaff727f1a0d971585ee15e0 /test/parallel/test-tls-client-default-ciphers.js
parentc21a212bdc3a9e15f37bb6556546b3778503bcf0 (diff)
downloadandroid-node-v8-612307564b2f7758ad4436f95b03c05dca1198d7.tar.gz
android-node-v8-612307564b2f7758ad4436f95b03c05dca1198d7.tar.bz2
android-node-v8-612307564b2f7758ad4436f95b03c05dca1198d7.zip
test: make import common as the first line
The `test/common` module has the capability to identify if any variable is leaked to the global scope and fail the test. So that has to be imported at the beginning. PR-URL: https://github.com/nodejs/node/pull/7786 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-client-default-ciphers.js')
-rw-r--r--test/parallel/test-tls-client-default-ciphers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-client-default-ciphers.js b/test/parallel/test-tls-client-default-ciphers.js
index ebfc072dd3..33766dfd5b 100644
--- a/test/parallel/test-tls-client-default-ciphers.js
+++ b/test/parallel/test-tls-client-default-ciphers.js
@@ -1,6 +1,6 @@
'use strict';
+const common = require('../common');
var assert = require('assert');
-var common = require('../common');
if (!common.hasCrypto) {
common.skip('missing crypto');