Skip to content

Commit 1c1312e

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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)