Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f1f7e1

Browse filesBrowse 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 d64fe48 commit 2f1f7e1
Copy full SHA for 2f1f7e1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-5
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-cluster-setup-master-cumulative.js
+2-5Lines changed: 2 additions & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.