Skip to content

Commit

Permalink
test: improve test-cluster-net-listen.js
Browse files Browse the repository at this point in the history
convert var to const

PR-URL: #9953
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
  • Loading branch information
Rico Cai authored and targos committed Dec 28, 2016
1 parent f78e6b0 commit 2bcc75b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-cluster-net-listen.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2bcc75b

Please sign in to comment.