aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-client-abort2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-client-abort2.js')
-rw-r--r--test/parallel/test-tls-client-abort2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-client-abort2.js b/test/parallel/test-tls-client-abort2.js
index dd224be874..3247a2899a 100644
--- a/test/parallel/test-tls-client-abort2.js
+++ b/test/parallel/test-tls-client-abort2.js
@@ -8,7 +8,7 @@ if (!common.hasCrypto) {
}
const tls = require('tls');
-var conn = tls.connect(common.PORT, common.fail);
+const conn = tls.connect(common.PORT, common.fail);
conn.on('error', common.mustCall(function() {
assert.doesNotThrow(function() {
conn.destroy();