Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit def98c6

Browse filesBrowse files
nathansmileFishrock123
authored andcommitted
test: replace string concatenation with template
PR-URL: #14342 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent f6a0343 commit def98c6
Copy full SHA for def98c6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-icu-data-dir.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.