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: #10047
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
navulirs authored and evanlucas committed Jan 3, 2017
1 parent 8c70563 commit 42eea11
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 42eea11

Please sign in to comment.