Skip to content

Commit

Permalink
test: changes to use template literal
Browse files Browse the repository at this point in the history
PR-URL: #15937
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
joanne-jjb authored and MylesBorins committed Oct 25, 2017
1 parent fcab2c5 commit 1c1312e
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 1c1312e

Please sign in to comment.