Skip to content

Commit 906f2b1

Browse files
justin0022MylesBorins
authored andcommitted
test: remove message from asserts
PR-URL: #15920 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent a14b447 commit 906f2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ if (cluster.isMaster) {
3333
const worker = cluster.fork();
3434

3535
worker.on('message', common.mustCall((message) => {
36-
assert.strictEqual(message, true, 'did not receive expected message');
36+
assert.strictEqual(message, true);
3737
const w = worker.disconnect();
38-
assert.strictEqual(worker, w, 'did not return a reference');
38+
assert.strictEqual(worker, w);
3939
}));
4040

4141
worker.on('online', () => {

0 commit comments

Comments
 (0)