Skip to content

Commit 07680b6

Browse files
fmizzellMylesBorins
authored andcommitted
test: refactor test-cluster-worker-events
Use assert.strictEqual() instead of assert.equal() PR-URL: #9994 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a3db544 commit 07680b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-cluster-worker-events.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (cluster.isMaster) {
1010
var worker = cluster.fork();
1111

1212
worker.on('exit', function(code) {
13-
assert.equal(code, OK);
13+
assert.strictEqual(code, OK);
1414
process.exit(0);
1515
});
1616

@@ -49,7 +49,7 @@ function check(m) {
4949
assert.deepEqual(messages[0], messages[1]);
5050

5151
cluster.worker.once('error', function(e) {
52-
assert.equal(e, 'HI');
52+
assert.strictEqual(e, 'HI');
5353
process.exit(OK);
5454
});
5555

0 commit comments

Comments
 (0)