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>
This commit is contained in:
Song, Bintao Garfield 2017-07-16 15:08:33 +08:00 committed by Rich Trott
parent 35398af68e
commit e3f7a54d0a

View File

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