Skip to content

Commit

Permalink
src: add missing new line to printed message
Browse files Browse the repository at this point in the history
PR-URL: #13940
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
  • Loading branch information
TimothyGu committed Jun 29, 2017
1 parent 53b8c51 commit 9330835
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)",
"(check NODE_ICU_DATA or --icu-data-dir parameters)\n",
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)';
'(check NODE_ICU_DATA or --icu-data-dir parameters)\n';

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

0 comments on commit 9330835

Please sign in to comment.