Skip to content

Commit

Permalink
test: replace error msg w/ template literal
Browse files Browse the repository at this point in the history
  • Loading branch information
sashimii committed Oct 6, 2017
1 parent 4f339b5 commit a4a034f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-send-handle-twice.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ if (cluster.isMaster) {
for (let i = 0; i < workers.toStart; ++i) {
const worker = cluster.fork();
worker.on('exit', common.mustCall(function(code, signal) {
assert.strictEqual(code, 0, 'Worker exited with an error code');
assert.strictEqual(signal, null, 'Worker exited by a signal');
assert.strictEqual(code, 0, `Worker exited with an error code: ${code}`);
assert.strictEqual(signal, null, `Worker exited by a signal: ${signal}`);
}));
}
} else {
Expand Down

0 comments on commit a4a034f

Please sign in to comment.