summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-fork-net2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-fork-net2.js')
-rw-r--r--test/parallel/test-child-process-fork-net2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-fork-net2.js b/test/parallel/test-child-process-fork-net2.js
index dd89557b61..359b88f559 100644
--- a/test/parallel/test-child-process-fork-net2.js
+++ b/test/parallel/test-child-process-fork-net2.js
@@ -66,8 +66,8 @@ if (process.argv[2] === 'child') {
var server = net.createServer();
- var connected = 0,
- closed = 0;
+ let connected = 0;
+ let closed = 0;
server.on('connection', function(socket) {
switch (connected % 6) {
case 0: