Skip to content

Commit 6563e56

Browse files
mbornathTrott
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: nodejs#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 a77bfca commit 6563e56

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
@@ -26,11 +26,8 @@ const cluster = require('cluster');
2626

2727
assert(cluster.isMaster);
2828

29-
assert.deepStrictEqual(
30-
cluster.settings,
31-
{},
32-
'cluster.settings should not be initialized until needed'
33-
);
29+
// cluster.settings should not be initialized until needed
30+
assert.deepStrictEqual(cluster.settings, {});
3431

3532
cluster.setupMaster();
3633
assert.deepStrictEqual(cluster.settings, {

0 commit comments

Comments
 (0)