Skip to content

Commit

Permalink
test: change assert.equal to assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #9946
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
Aileen authored and addaleax committed Dec 8, 2016
1 parent dac757e commit 72fb05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-send-handle-twice.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (cluster.isMaster) {
for (var i = 0; i < workers.toStart; ++i) {
var worker = cluster.fork();
worker.on('exit', function(code, signal) {
assert.equal(code, 0, 'Worker exited with an error code');
assert.strictEqual(code, 0, 'Worker exited with an error code');
assert(!signal, 'Worker exited by a signal');
});
}
Expand Down

0 comments on commit 72fb05d

Please sign in to comment.