Permalink
Browse files

test: use template literal for string concat

In test/parallel/test-repl-persistent-history.js, replace string
concatenation with a template literal.

PR-URL: #14288
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information...
whatwewant authored and Trott committed Jul 16, 2017
1 parent 32cb926 commit 9cbfd5b580acfe4a5b0406bbf6221052afa4a01a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = '\nConverted 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' +

0 comments on commit 9cbfd5b

Please sign in to comment.