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 <[email protected]>
  • Loading branch information
navulirs authored and MylesBorins committed Jan 23, 2017
1 parent ce4518b commit 447cc03
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 @@ const 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 447cc03

Please sign in to comment.