Skip to content

Commit

Permalink
test: replace string concat with template literal
Browse files Browse the repository at this point in the history
Replace the string concat at test/addons-napi/test_reference/test.js.

Backport-PR-URL: #19447
PR-URL: #14269
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
4garfield authored and MylesBorins committed Apr 16, 2018
1 parent aad36b2 commit 3f3eaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/addons-napi/test_reference/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function runTests(i, title, tests) {
try {
tests[i]();
} catch (e) {
console.error('Test failed: ' + title);
console.error(`Test failed: ${title}`);
throw e;
}
setImmediate(() => {
Expand Down

0 comments on commit 3f3eaf9

Please sign in to comment.