Skip to content

Commit c8087c0

Browse files
4garfieldaddaleax
authored andcommitted
test: replace string concat with template literal
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]>
1 parent c44d899 commit c8087c0

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

+1-1
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)