Skip to content

Commit

Permalink
test: improve assert message
Browse files Browse the repository at this point in the history
PR-URL: #15909
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
tnguyen14 authored and targos committed Oct 18, 2017
1 parent 6f605b8 commit 78ffdb8
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 78ffdb8

Please sign in to comment.