Skip to content

Commit ab046be

Browse files
Barry TamMylesBorins
Barry Tam
authored andcommitted
test: replacing assert message with template
PR-URL: #15974 Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 75ab6c0 commit ab046be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)