Skip to content

Commit

Permalink
test: refactor test-cluster-net-listen
Browse files Browse the repository at this point in the history
10.5 error Please use assert.strictEqual() instead of assert.equal()

PR-URL: nodejs#10047
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
navulirs authored and Trott committed Dec 22, 2016
1 parent 5c85ae6 commit 72c773c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-net-listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72c773c

Please sign in to comment.