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 4, 2017
1 parent 18a75a0 commit 12a3b18
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 12a3b18

Please sign in to comment.