Skip to content

Commit

Permalink
src: revert 13940
Browse files Browse the repository at this point in the history
PR broke tests on Windows.

Ref: nodejs#13940
  • Loading branch information
tniessen committed Jun 29, 2017
1 parent 9330835 commit 8573ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4372,7 +4372,7 @@ void Init(int* argc,
if (!i18n::InitializeICUDirectory(icu_data_dir)) {
fprintf(stderr,
"%s: could not initialize ICU "
"(check NODE_ICU_DATA or --icu-data-dir parameters)\n",
"(check NODE_ICU_DATA or --icu-data-dir parameters)",
argv[0]);
exit(9);
}
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-icu-data-dir.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { spawnSync } = require('child_process');

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

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

0 comments on commit 8573ce8

Please sign in to comment.