Skip to content

Commit 4252c48

Browse files
mbornathMylesBorins
authored andcommitted
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: #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>
1 parent b458cb1 commit 4252c48

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/parallel/test-cluster-setup-master-cumulative.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ const cluster = require('cluster');
55

66
assert(cluster.isMaster);
77

8-
assert.deepStrictEqual(
9-
cluster.settings,
10-
{},
11-
'cluster.settings should not be initialized until needed'
12-
);
8+
// cluster.settings should not be initialized until needed
9+
assert.deepStrictEqual(cluster.settings, {});
1310

1411
cluster.setupMaster();
1512
assert.deepStrictEqual(cluster.settings, {

0 commit comments

Comments
 (0)