Skip to content

Commit

Permalink
test: refactor test-cluster-worker-events
Browse files Browse the repository at this point in the history
Use assert.strictEqual() instead of assert.equal()

PR-URL: #9994
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
fmizzell authored and MylesBorins committed Dec 20, 2016
1 parent a3db544 commit 07680b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-worker-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (cluster.isMaster) {
var worker = cluster.fork();

worker.on('exit', function(code) {
assert.equal(code, OK);
assert.strictEqual(code, OK);
process.exit(0);
});

Expand Down Expand Up @@ -49,7 +49,7 @@ function check(m) {
assert.deepEqual(messages[0], messages[1]);

cluster.worker.once('error', function(e) {
assert.equal(e, 'HI');
assert.strictEqual(e, 'HI');
process.exit(OK);
});

Expand Down

0 comments on commit 07680b6

Please sign in to comment.