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 <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
justin0022 authored and MylesBorins committed Oct 11, 2017
1 parent a14b447 commit 906f2b1
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 906f2b1

Please sign in to comment.