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 f9cb428

Browse filesBrowse files
Barry TamMylesBorins
authored andcommitted
test: replacing assert message with template
PR-URL: #15974 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 36747ee commit f9cb428
Copy full SHA for f9cb428

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-cluster-disconnect-suicide-race.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-cluster-disconnect-suicide-race.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const cluster = require('cluster');
88

99
if (cluster.isMaster) {
1010
cluster.on('exit', (worker, code) => {
11-
assert.strictEqual(code, 0, 'worker exited with error');
11+
assert.strictEqual(code, 0, `worker exited with code: ${code}, expected 0`);
1212
});
1313

1414
return cluster.fork();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.