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:
mbornath authored and Myles Borins committed 2017-11-28 13:10:59 +09:00
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, {