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.

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 addaleax committed Jul 18, 2017
1 parent c44d899 commit c8087c0
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 c8087c0

Please sign in to comment.