Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: remove message from asserts
  • Loading branch information
justin0022 committed Oct 6, 2017
commit 488007226d794d42691d11d85c32720bbc9aea6e
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