From eeb5358de08d2a5df195ba6e7db72c50e21d6dc7 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Mon, 26 Jun 2017 11:59:44 +0800 Subject: [PATCH] src: add missing new line to printed message --- src/node.cc | 2 +- test/parallel/test-icu-data-dir.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index beeebe6923a18e..f2656e8a53635d 100644 --- a/src/node.cc +++ b/src/node.cc @@ -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); } diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js index 3882acb92c767c..f8a5e77dbd9660 100644 --- a/test/parallel/test-icu-data-dir.js +++ b/test/parallel/test-icu-data-dir.js @@ -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']);