Skip to content

Commit 8573ce8

Browse files
committed
src: revert 13940
PR broke tests on Windows. Ref: nodejs#13940
1 parent 9330835 commit 8573ce8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4372,7 +4372,7 @@ void Init(int* argc,
43724372
if (!i18n::InitializeICUDirectory(icu_data_dir)) {
43734373
fprintf(stderr,
43744374
"%s: could not initialize ICU "
4375-
"(check NODE_ICU_DATA or --icu-data-dir parameters)\n",
4375+
"(check NODE_ICU_DATA or --icu-data-dir parameters)",
43764376
argv[0]);
43774377
exit(9);
43784378
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { spawnSync } = require('child_process');
99

1010
const expected =
1111
'could not initialize ICU ' +
12-
'(check NODE_ICU_DATA or --icu-data-dir parameters)\n';
12+
'(check NODE_ICU_DATA or --icu-data-dir parameters)';
1313

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

0 commit comments

Comments
 (0)