Skip to content

Commit 0f23836

Browse files
tnguyen14MylesBorins
authored andcommitted
test: improve assert message
PR-URL: #15909 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent bbdbf8b commit 0f23836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-cluster-worker-destroy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (cluster.isMaster) {
2828
});
2929

3030
const w = cluster.worker.disconnect();
31-
assert.strictEqual(w, cluster.worker, 'did not return a reference');
31+
assert.strictEqual(w, cluster.worker);
3232
} else {
3333
// Call destroy when worker is not disconnected yet
3434
cluster.worker.destroy();

0 commit comments

Comments
 (0)