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>
This commit is contained in:
Tri Nguyen authored and Michaël Zasso committed 2017-10-17 23:26:18 -07:00
1 parent 6f605b8b7e
commit 78ffdb85d0
1 file changed
+1 -1
+1 -1
View File
@@ -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();