Skip to content

Commit 778e5f7

Browse files
Bruce Laiaddaleax
authored andcommitted
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: #9981 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent b67cad1 commit 778e5f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎test/parallel/test-cluster-worker-death.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ if (!cluster.isMaster){
88
}else{
99
varworker=cluster.fork();
1010
worker.on('exit',common.mustCall(function(exitCode,signalCode){
11-
assert.equal(exitCode,42);
12-
assert.equal(signalCode,null);
11+
assert.strictEqual(exitCode,42);
12+
assert.strictEqual(signalCode,null);
1313
}));
1414
cluster.on('exit',common.mustCall(function(worker_){
15-
assert.equal(worker_,worker);
15+
assert.strictEqual(worker_,worker);
1616
}));
1717
}

0 commit comments

Comments
(0)