summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-pause-resume-connecting.js
diff options
context:
space:
mode:
authorMichaƫl Zasso <mic.besace@gmail.com>2016-01-13 21:42:45 +0100
committerRoman Reiss <me@silverwind.io>2016-01-13 23:16:17 +0100
commitd1aabd626428cec65e5f54c04d9e3446d1e4d3b7 (patch)
tree9a4d4de19204b8b50d496dd6046a897f107bcf4d /test/parallel/test-net-pause-resume-connecting.js
parentec8e0ae697d96c417bda0bbe5be9712cf5923b1f (diff)
downloadnode-new-d1aabd626428cec65e5f54c04d9e3446d1e4d3b7.tar.gz
test: fix style issues after eslint update
Replace var keyword with const or let. PR-URL: https://github.com/nodejs/io.js/pull/2286 Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-net-pause-resume-connecting.js')
-rw-r--r--test/parallel/test-net-pause-resume-connecting.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/parallel/test-net-pause-resume-connecting.js b/test/parallel/test-net-pause-resume-connecting.js
index fb3b66c8cf..6be20cecb9 100644
--- a/test/parallel/test-net-pause-resume-connecting.js
+++ b/test/parallel/test-net-pause-resume-connecting.js
@@ -1,11 +1,11 @@
'use strict';
-var common = require('../common'),
- assert = require('assert'),
- net = require('net');
+const common = require('../common');
+const assert = require('assert');
+const net = require('net');
-var connections = 0,
- dataEvents = 0,
- conn;
+let connections = 0;
+let dataEvents = 0;
+let conn;
// Server