mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: remove message from asserts
PR-URL: https://github.com/nodejs/node/pull/15920 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
23e66edcbe
commit
d0bd56d509
1 file changed
+2
-2
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user