diff options
author | Michaƫl Zasso <mic.besace@gmail.com> | 2016-01-13 21:42:45 +0100 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2016-01-13 23:16:17 +0100 |
commit | d1aabd626428cec65e5f54c04d9e3446d1e4d3b7 (patch) | |
tree | 9a4d4de19204b8b50d496dd6046a897f107bcf4d /test/parallel/test-net-pause-resume-connecting.js | |
parent | ec8e0ae697d96c417bda0bbe5be9712cf5923b1f (diff) | |
download | node-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.js | 12 |
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 |