Skip to content

Commit b6a87db

Browse files
tnguyen14Trott
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 1c28dfa commit b6a87db

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
@@ -49,7 +49,7 @@ if (cluster.isMaster) {
4949
});
5050

5151
const w = cluster.worker.disconnect();
52-
assert.strictEqual(w, cluster.worker, 'did not return a reference');
52+
assert.strictEqual(w, cluster.worker);
5353
} else {
5454
// Call destroy when worker is not disconnected yet
5555
cluster.worker.destroy();

0 commit comments

Comments
 (0)