Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: change equal to strictEqual
This commit changes calls to `assert.equal()` to `assert.strictEqual()`.
  • Loading branch information
kzurawel committed Dec 1, 2016
commit 367fff1792fccb617ec5f9964cdbdfb074a3d1eb
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-shared-handle-bind-error.js
Original file line number Diff line number Diff line change
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();
}));
}