From 9330835754dab25f3ccc1d903ac33837b94dabd9 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 PR-URL: https://github.com/nodejs/node/pull/13940 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Daniel Bevenius --- 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 beeebe6923..f2656e8a53 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 3882acb92c..f8a5e77dbd 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']);