From 8573ce8866d0925dfc250a12f079f498c9766373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 29 Jun 2017 15:27:23 +0200 Subject: [PATCH] src: revert 13940 PR broke tests on Windows. Ref: https://github.com/nodejs/node/pull/13940 --- 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 f2656e8a53635d..beeebe6923a18e 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)\n", + "(check NODE_ICU_DATA or --icu-data-dir parameters)", argv[0]); exit(9); } diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js index f8a5e77dbd9660..3882acb92c767c 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)\n'; + '(check NODE_ICU_DATA or --icu-data-dir parameters)'; { const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);