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 4d59fe6 commit 7aa95cf
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 7aa95cf

Please sign in to comment.