From eeabddea4a9a3dd5cb686449ea0a5f19c0816830 Mon Sep 17 00:00:00 2001 From: fmizzell Date: Thu, 1 Dec 2016 17:19:34 +0000 Subject: [PATCH] test: refactor test-cluster-worker-events Use assert.strictEqual() instead of assert.equal() --- test/parallel/test-cluster-worker-events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-cluster-worker-events.js b/test/parallel/test-cluster-worker-events.js index fadfd5356540b3..08bf456a735b7d 100644 --- a/test/parallel/test-cluster-worker-events.js +++ b/test/parallel/test-cluster-worker-events.js @@ -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); });