mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: replacing assert message with template
PR-URL: https://github.com/nodejs/node/pull/15974 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
75ab6c00a9
commit
ab046beeeb
1 file changed
+1
-1
@@ -8,7 +8,7 @@ const cluster = require('cluster');
|
||||
|
||||
if (cluster.isMaster) {
|
||||
cluster.on('exit', (worker, code) => {
|
||||
assert.strictEqual(code, 0, 'worker exited with error');
|
||||
assert.strictEqual(code, 0, `worker exited with code: ${code}, expected 0`);
|
||||
});
|
||||
|
||||
return cluster.fork();
|
||||
|
||||
Reference in new issue
Block a user