Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test: improve assert message
PR-URL: nodejs#15909
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
tnguyen14 authored and Trott committed Oct 12, 2017
1 parent 1c28dfa commit b6a87db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-worker-destroy.js
Expand Up @@ -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();
Expand Down

0 comments on commit b6a87db

Please sign in to comment.