mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: remove message argument in cluster setup test
In test/parallel/test-cluster-setup-master-cumulative.js: Remove the message parameter to ensure that the compared objects are printed out. Add the original message as a comment above. PR-URL: https://github.com/nodejs/node/pull/16838 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
cedf8a1cb2
commit
3acf156b68
1 file changed
+2
-5
@@ -5,11 +5,8 @@ const cluster = require('cluster');
|
||||
|
||||
assert(cluster.isMaster);
|
||||
|
||||
assert.deepStrictEqual(
|
||||
cluster.settings,
|
||||
{},
|
||||
'cluster.settings should not be initialized until needed'
|
||||
);
|
||||
// cluster.settings should not be initialized until needed
|
||||
assert.deepStrictEqual(cluster.settings, {});
|
||||
|
||||
cluster.setupMaster();
|
||||
assert.deepStrictEqual(cluster.settings, {
|
||||
|
||||
Reference in new issue
Block a user