test: refactor test-cluster-worker-events

Use assert.strictEqual() instead of assert.equal()

PR-URL: https://github.com/nodejs/node/pull/9994
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
fmizzell authored and Anna Henningsen committed 2016-12-08 03:03:33 +01:00
1 parent aea0d47b77
commit ced89ede03
1 file changed
+2 -2
+2 -2
View File
@@ -10,7 +10,7 @@ if (cluster.isMaster) {
var worker = cluster.fork();
worker.on('exit', function(code) {
assert.equal(code, OK);
assert.strictEqual(code, OK);
process.exit(0);
});
@@ -50,7 +50,7 @@ function check(m) {
assert.deepStrictEqual(messages[0], messages[1]);
cluster.worker.once('error', function(e) {
assert.equal(e, 'HI');
assert.strictEqual(e, 'HI');
process.exit(OK);
});