Browse Source

test: replace string concat with template literal

Replace the string concat at test/addons-napi/test_reference/test.js.

PR-URL: https://github.com/nodejs/node/pull/14269
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v6
Song, Bintao Garfield 8 years ago
committed by Rich Trott
parent
commit
e3f7a54d0a
  1. 2
      test/addons-napi/test_reference/test.js

2
test/addons-napi/test_reference/test.js

@ -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(() => {

Loading…
Cancel
Save