From 03b56af86e06a39a742f5e313d749d94da84adba Mon Sep 17 00:00:00 2001 From: Tri Nguyen <tri@tridnguyen.com> 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 <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> --- 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 70900a81e3..e4223b826d 100644 --- a/test/parallel/test-cluster-worker-destroy.js +++ b/test/parallel/test-cluster-worker-destroy.js @@ -49,7 +49,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();