Browse Source

test: refactor test-cluster-net-listen

10.5 error Please use assert.strictEqual() instead of assert.equal()

PR-URL: https://github.com/nodejs/node/pull/10047
Reviewed-By: James M Snell <jasnell@gmail.com>
v6
Segu Riluvan 8 years ago
committed by Rich Trott
parent
commit
72c773cc33
  1. 2
      test/parallel/test-cluster-net-listen.js

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

@ -7,7 +7,7 @@ var net = require('net');
if (cluster.isMaster) {
// ensure that the worker exits peacefully
cluster.fork().on('exit', common.mustCall(function(statusCode) {
assert.equal(statusCode, 0);
assert.strictEqual(statusCode, 0);
}));
} else {
// listen() without port should not trigger a libuv assert

Loading…
Cancel
Save