Skip to content

Commit

Permalink
test: remove message from asserts
Browse files Browse the repository at this point in the history
PR-URL: #15920
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
justin0022 authored and BridgeAR committed Oct 9, 2017
1 parent 0fbe0a0 commit 721f6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-worker-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ if (cluster.isMaster) {
const worker = cluster.fork();

worker.on('message', common.mustCall((message) => {
assert.strictEqual(message, true, 'did not receive expected message');
assert.strictEqual(message, true);
const w = worker.disconnect();
assert.strictEqual(worker, w, 'did not return a reference');
assert.strictEqual(worker, w);
}));

worker.on('online', () => {
Expand Down

0 comments on commit 721f6df

Please sign in to comment.