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 1c1312e

Browse filesBrowse files
joanne-jjbMylesBorins
authored andcommitted
test: changes to use template literal
PR-URL: #15937 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent fcab2c5 commit 1c1312e
Copy full SHA for 1c1312e

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-race.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-cluster-disconnect-race.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (cluster.isMaster) {
2424
}));
2525

2626
cluster.on('exit', common.mustCall(function(worker, code) {
27-
assert.strictEqual(code, 0, 'worker exited with error');
27+
assert.strictEqual(code, 0, `worker exited with error code ${code}`);
2828
}, 2));
2929

3030
return;

0 commit comments

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