summaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-worker-death.js
diff options
context:
space:
mode:
authorBruce Lai <bruceplai@gmail.com>2016-12-01 10:49:39 -0600
committerAnna Henningsen <anna@addaleax.net>2016-12-08 01:48:31 +0100
commit68488e9c75cf24632fd68063168992ca6830655c (patch)
tree1f6067ed52ccb7fb1e35bd2b2ff2c2b23b355a4d /test/parallel/test-cluster-worker-death.js
parentdeb9cc0cde689e5edd5df45b7ca375f8debeb9be (diff)
downloadnode-new-68488e9c75cf24632fd68063168992ca6830655c.tar.gz
test: fix error in test-cluster-worker-death.js
Replaced calls to assert.equal with assert.strictEqual in order to fix the following error: "Please use assert.strictEqual() instead of assert.strictEqual()" PR-URL: https://github.com/nodejs/node/pull/9981 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test/parallel/test-cluster-worker-death.js')
-rw-r--r--test/parallel/test-cluster-worker-death.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-cluster-worker-death.js b/test/parallel/test-cluster-worker-death.js
index 8bbf46de56..ac32705106 100644
--- a/test/parallel/test-cluster-worker-death.js
+++ b/test/parallel/test-cluster-worker-death.js
@@ -8,10 +8,10 @@ if (!cluster.isMaster) {
} else {
var worker = cluster.fork();
worker.on('exit', common.mustCall(function(exitCode, signalCode) {
- assert.equal(exitCode, 42);
- assert.equal(signalCode, null);
+ assert.strictEqual(exitCode, 42);
+ assert.strictEqual(signalCode, null);
}));
cluster.on('exit', common.mustCall(function(worker_) {
- assert.equal(worker_, worker);
+ assert.strictEqual(worker_, worker);
}));
}