aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-shared-handle-bind-privileged-port.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-cluster-shared-handle-bind-privileged-port.js')
-rw-r--r--test/parallel/test-cluster-shared-handle-bind-privileged-port.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-cluster-shared-handle-bind-privileged-port.js b/test/parallel/test-cluster-shared-handle-bind-privileged-port.js
index 9dc0e4ea77..a04662750f 100644
--- a/test/parallel/test-cluster-shared-handle-bind-privileged-port.js
+++ b/test/parallel/test-cluster-shared-handle-bind-privileged-port.js
@@ -18,13 +18,13 @@ if (cluster.isMaster) {
// Master opens and binds the socket and shares it with the worker.
cluster.schedulingPolicy = cluster.SCHED_NONE;
cluster.fork().on('exit', common.mustCall(function(exitCode) {
- assert.equal(exitCode, 0);
+ assert.strictEqual(exitCode, 0);
}));
} else {
var s = net.createServer(common.fail);
s.listen(42, common.fail.bind(null, 'listen should have failed'));
s.on('error', common.mustCall(function(err) {
- assert.equal(err.code, 'EACCES');
+ assert.strictEqual(err.code, 'EACCES');
process.disconnect();
}));
}