From 2bba2d21bd40ee8573c1fec6172e1eef48de301b Mon Sep 17 00:00:00 2001 From: Rico Cai Date: Thu, 1 Dec 2016 10:20:48 -0600 Subject: [PATCH] test: improve test-cluster-net-listen.js convert var to const PR-URL: https://github.com/nodejs/node/pull/9953 Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Gibson Fahnestock --- test/parallel/test-cluster-net-listen.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-cluster-net-listen.js b/test/parallel/test-cluster-net-listen.js index 42c13f388f..d065c466f2 100644 --- a/test/parallel/test-cluster-net-listen.js +++ b/test/parallel/test-cluster-net-listen.js @@ -1,8 +1,8 @@ 'use strict'; -var common = require('../common'); -var assert = require('assert'); -var cluster = require('cluster'); -var net = require('net'); +const common = require('../common'); +const assert = require('assert'); +const cluster = require('cluster'); +const net = require('net'); if (cluster.isMaster) { // ensure that the worker exits peacefully