Skip to content

Commit 7428d80

Browse files
fmizzellFishrock123
authored andcommittedDec 6, 2016
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 6df3b7b commit 7428d80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

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

+2-2
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

@@ -50,7 +50,7 @@ function check(m) {
5050
assert.deepStrictEqual(messages[0], messages[1]);
5151

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

0 commit comments

Comments
 (0)
Please sign in to comment.