Skip to content

Commit

Permalink
test: changes to use template literal
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15937
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
joanne-jjb authored and addaleax committed Oct 11, 2017
1 parent 7343a0f commit 7585e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-disconnect-race.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (cluster.isMaster) {
}));

cluster.on('exit', common.mustCall(function(worker, code) {
assert.strictEqual(code, 0, 'worker exited with error');
assert.strictEqual(code, 0, `worker exited with error code ${code}`);
}, 2));

return;
Expand Down

0 comments on commit 7585e65

Please sign in to comment.