Skip to content

Commit def98c6

Browse files
nathansmileFishrock123
authored andcommitted
test: replace string concatenation with template
PR-URL: #14342 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent f6a0343 commit def98c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const common = require('../common');
3+
const os = require('os');
34
if (!(common.hasIntl && common.hasSmallICU))
45
common.skip('missing Intl');
56

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

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

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

0 commit comments

Comments
 (0)