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: nodejs#9946
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Aileen authored and addaleax committed Dec 8, 2016
1 parent 70c5e4f commit 653f2b7
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 653f2b7

Please sign in to comment.