Permalink
Browse files

test: refactor test-cluster-net-listen

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

PR-URL: #10047
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
Segu Riluvan authored and Trott committed Dec 1, 2016
1 parent 5c85ae6 commit 72c773cc334adc8af7b2ca9949ad991b8a2c5e4e
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 72c773c

Please sign in to comment.