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 11, 2017
1 parent ca5f4f0 commit 26536e4
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 26536e4

Please sign in to comment.