Skip to content

Commit

Permalink
test: Changed assert.equal to assert.strictEqual
Browse files Browse the repository at this point in the history
Updated test-cluster-send-deadlock.js to change
assert.equal to assert.strictEqual

PR-URL: #9902
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
daniel-pittman authored and MylesBorins committed Dec 21, 2016
1 parent 2eaf945 commit fd4999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-send-deadlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var net = require('net');
if (cluster.isMaster) {
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');
server.close();
});
Expand Down

0 comments on commit fd4999b

Please sign in to comment.