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 <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
tnguyen14 authored and MylesBorins committed Nov 28, 2017
1 parent bbdbf8b commit 0f23836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-worker-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0f23836

Please sign in to comment.