Browse Source

test: improve test-cluster-net-listen.js

convert var to const

PR-URL: https://github.com/nodejs/node/pull/9953
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
v6
Rico Cai 8 years ago
committed by Rich Trott
parent
commit
2bba2d21bd
  1. 8
      test/parallel/test-cluster-net-listen.js

8
test/parallel/test-cluster-net-listen.js

@ -1,8 +1,8 @@
'use strict'; 'use strict';
var common = require('../common'); const common = require('../common');
var assert = require('assert'); const assert = require('assert');
var cluster = require('cluster'); const cluster = require('cluster');
var net = require('net'); const net = require('net');
if (cluster.isMaster) { if (cluster.isMaster) {
// ensure that the worker exits peacefully // ensure that the worker exits peacefully

Loading…
Cancel
Save