Skip to content

Commit

Permalink
test: replace string concatenation with template
Browse files Browse the repository at this point in the history
PR-URL: #14342
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
nathansmile authored and Fishrock123 committed Jul 24, 2017
1 parent f6a0343 commit def98c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-icu-data-dir.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const os = require('os');
if (!(common.hasIntl && common.hasSmallICU))
common.skip('missing Intl');

Expand All @@ -8,7 +9,7 @@ const { spawnSync } = require('child_process');

const expected =
'could not initialize ICU (check NODE_ICU_DATA or ' +
'--icu-data-dir parameters)' + (common.isWindows ? '\r\n' : '\n');
`--icu-data-dir parameters)${os.EOL}`;

{
const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);
Expand Down

0 comments on commit def98c6

Please sign in to comment.