From 064126499af6ac9ed66ab54ef630c71e094f03cc Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Thu, 1 Dec 2016 10:18:45 -0600 Subject: [PATCH] test: Changed assert.equal to assert.strictEqual Updated test-cluster-send-deadlock.js to change assert.equal to assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/9902 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- test/parallel/test-cluster-send-deadlock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-cluster-send-deadlock.js b/test/parallel/test-cluster-send-deadlock.js index 90b8c91695359b..fa3e1138248221 100644 --- a/test/parallel/test-cluster-send-deadlock.js +++ b/test/parallel/test-cluster-send-deadlock.js @@ -10,7 +10,7 @@ var net = require('net'); if (cluster.isMaster) { var worker = cluster.fork(); worker.on('exit', function(code, signal) { - assert.equal(code, 0, 'Worker exited with an error code'); + assert.strictEqual(code, 0, 'Worker exited with an error code'); assert(!signal, 'Worker exited by a signal'); server.close(); });