Skip to content

Commit

Permalink
test: change equal to strictEqual
Browse files Browse the repository at this point in the history
This commit changes calls to `assert.equal()` to `assert.strictEqual()`.

PR-URL: #9872
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
kzurawel authored and MylesBorins committed Dec 20, 2016
1 parent 33da22a commit e47195c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-shared-handle-bind-error.js
Expand Up @@ -12,15 +12,15 @@ if (cluster.isMaster) {
var server = this;
var worker = cluster.fork();
worker.on('exit', common.mustCall(function(exitCode) {
assert.equal(exitCode, 0);
assert.strictEqual(exitCode, 0);
server.close();
}));
});
} else {
var s = net.createServer(common.fail);
s.listen(common.PORT, common.fail.bind(null, 'listen should have failed'));
s.on('error', common.mustCall(function(err) {
assert.equal(err.code, 'EADDRINUSE');
assert.strictEqual(err.code, 'EADDRINUSE');
process.disconnect();
}));
}

0 comments on commit e47195c

Please sign in to comment.