From a1ecdcfb154ec79db4da595ca85ce75f9f759c6a 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] test: fix failure in test-icu-data-dir.js This fixes a broken test on Windows caused by EOL conversion. PR-URL: https://github.com/nodejs/node/pull/13987 Refs: https://github.com/nodejs/node/pull/13940 Refs: https://github.com/nodejs/node/issues/13986 Reviewed-By: Refael Ackermann --- test/parallel/test-icu-data-dir.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js index f8a5e77dbd9..5619d934020 100644 --- a/test/parallel/test-icu-data-dir.js +++ b/test/parallel/test-icu-data-dir.js @@ -8,8 +8,8 @@ const assert = require('assert'); const { spawnSync } = require('child_process'); const expected = - 'could not initialize ICU ' + - '(check NODE_ICU_DATA or --icu-data-dir parameters)\n'; + 'could not initialize ICU (check NODE_ICU_DATA or ' + + '--icu-data-dir parameters)' + (common.isWindows ? '\r\n' : '\n'); { const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);