mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: improve assert message
PR-URL: https://github.com/nodejs/node/pull/15909 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
1 parent
6f605b8b7e
commit
78ffdb85d0
1 file changed
+1
-1
@@ -49,7 +49,7 @@ if (cluster.isMaster) {
|
||||
});
|
||||
|
||||
const w = cluster.worker.disconnect();
|
||||
assert.strictEqual(w, cluster.worker, 'did not return a reference');
|
||||
assert.strictEqual(w, cluster.worker);
|
||||
} else {
|
||||
// Call destroy when worker is not disconnected yet
|
||||
cluster.worker.destroy();
|
||||
|
||||
Reference in new issue
Block a user