Browse Source

test: replace string concatenation with template

PR-URL: https://github.com/nodejs/node/pull/14342
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
v6
Nathan Jiang 7 years ago
committed by Refael Ackermann
parent
commit
01eddd97f7
No known key found for this signature in database GPG Key ID: CD704BD80FDDDB64
  1. 3
      test/parallel/test-icu-data-dir.js

3
test/parallel/test-icu-data-dir.js

@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const os = require('os');
if (!(common.hasIntl && common.hasSmallICU))
common.skip('missing Intl');
@ -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']);

Loading…
Cancel
Save