Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
test: improve assert message
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15909
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
tnguyen14 authored and addaleax committed Oct 15, 2017
1 parent 2ddc959 commit 03b56af
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 @@ -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 03b56af

Please sign in to comment.