From 0f23836e7ba562119fdab64c4fe57d390ce2087a Mon Sep 17 00:00:00 2001 From: Tri Nguyen Date: Fri, 6 Oct 2017 13:15:12 -0400 Subject: [PATCH] test: improve assert message PR-URL: https://github.com/nodejs/node/pull/15909 Reviewed-By: Rich Trott Reviewed-By: Michael Dawson --- test/parallel/test-cluster-worker-destroy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-cluster-worker-destroy.js b/test/parallel/test-cluster-worker-destroy.js index 4c03d4d440322d..06c013974c8ac0 100644 --- a/test/parallel/test-cluster-worker-destroy.js +++ b/test/parallel/test-cluster-worker-destroy.js @@ -28,7 +28,7 @@ if (cluster.isMaster) { }); const w = cluster.worker.disconnect(); - assert.strictEqual(w, cluster.worker, 'did not return a reference'); + assert.strictEqual(w, cluster.worker); } else { // Call destroy when worker is not disconnected yet cluster.worker.destroy();