From 3c76b2c4343ff6fefda05499b5731af1f332fcf9 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 --- 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 42c13f388f6d30..d065c466f26621 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