Skip to content

Commit 3f3eaf9

Browse files
4garfieldMylesBorins
authored andcommitted
test: replace string concat with template literal
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>
1 parent aad36b2 commit 3f3eaf9

File tree

1 file changed

+1
-1
lines changed
  • test/addons-napi/test_reference

1 file changed

+1
-1
lines changed

test/addons-napi/test_reference/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function runTests(i, title, tests) {
2222
try {
2323
tests[i]();
2424
} catch (e) {
25-
console.error('Test failed: ' + title);
25+
console.error(`Test failed: ${title}`);
2626
throw e;
2727
}
2828
setImmediate(() => {

0 commit comments

Comments
 (0)