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: nodejs#14269
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
4garfield authored and Trott committed Jul 16, 2017
1 parent 35398af commit e3f7a54
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 e3f7a54

Please sign in to comment.