Skip to content

Commit f9cb428

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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
returncluster.fork();

0 commit comments

Comments
(0)