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 <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • 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
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.