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 MylesBorins committed Oct 17, 2017
1 parent 46f4597 commit cd8d15e
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 @@ -12,9 +12,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 cd8d15e

Please sign in to comment.