summaryrefslogtreecommitdiff
path: root/test/sequential/test-child-process-fork-getconnections.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/sequential/test-child-process-fork-getconnections.js')
-rw-r--r--test/sequential/test-child-process-fork-getconnections.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sequential/test-child-process-fork-getconnections.js b/test/sequential/test-child-process-fork-getconnections.js
index 934df28d79..a7521f1635 100644
--- a/test/sequential/test-child-process-fork-getconnections.js
+++ b/test/sequential/test-child-process-fork-getconnections.js
@@ -6,7 +6,7 @@ const net = require('net');
const count = 12;
if (process.argv[2] === 'child') {
- let sockets = [];
+ const sockets = [];
process.on('message', function(m, socket) {
function sendClosed(id) {
@@ -42,7 +42,7 @@ if (process.argv[2] === 'child') {
});
const server = net.createServer();
- let sockets = [];
+ const sockets = [];
let sent = 0;
server.on('connection', function(socket) {