Skip to content

Commit

Permalink
test: use template literal for string concat
Browse files Browse the repository at this point in the history
In test/parallel/test-repl-persistent-history.js, replace string
concatenation with a template literal.

PR-URL: #14288
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
whatwewant authored and MylesBorins committed Sep 5, 2017
1 parent 77506e4 commit a696e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-repl-persistent-history.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' +
Expand Down

0 comments on commit a696e2e

Please sign in to comment.