From 3f3eaf996177190f9d71c68ec5aba3019fe430c4 Mon Sep 17 00:00:00 2001 From: "Song, Bintao Garfield" Date: Sun, 16 Jul 2017 15:08:33 +0800 Subject: [PATCH] test: replace string concat with template literal Replace the string concat at test/addons-napi/test_reference/test.js. Backport-PR-URL: https://github.com/nodejs/node/pull/19447 PR-URL: https://github.com/nodejs/node/pull/14269 Reviewed-By: Joyee Cheung Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig --- test/addons-napi/test_reference/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/addons-napi/test_reference/test.js b/test/addons-napi/test_reference/test.js index aaf5531f39e1f3..14932a74ca70b0 100644 --- a/test/addons-napi/test_reference/test.js +++ b/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(() => {