From a96c000eb2f24a1693628eb73a85d96332034875 Mon Sep 17 00:00:00 2001 From: tobewhatwewant Date: Sun, 16 Jul 2017 15:38:53 +0800 Subject: [PATCH] test: use template literal for string concat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In test/parallel/test-repl-persistent-history.js, replace string concatenation with a template literal. PR-URL: https://github.com/nodejs/node/pull/14288 Reviewed-By: Michaël Zasso Reviewed-By: Rich Trott Reviewed-By: Gibson Fahnestock Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: Refael Ackermann --- test/parallel/test-repl-persistent-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-repl-persistent-history.js b/test/parallel/test-repl-persistent-history.js index 2c31a13119fe2e..fe219d716ebf45 100644 --- a/test/parallel/test-repl-persistent-history.js +++ b/test/parallel/test-repl-persistent-history.js @@ -58,7 +58,7 @@ const replDisabled = '\nPersistent history support disabled. Set the ' + 'user-writable path to enable.\n'; const convertMsg = '\nConverting old JSON repl history to line-separated ' + 'history.\nThe new repl history file can be found at ' + - path.join(common.tmpDir, '.node_repl_history') + '.\n'; + `${path.join(common.tmpDir, '.node_repl_history')}.\n`; const homedirErr = '\nError: Could not get the home directory.\n' + 'REPL session history will not be persisted.\n'; const replFailedRead = '\nError: Could not open history file.\n' +