diff options
author | Tobias Nießen <tniessen@tnie.de> | 2017-06-29 15:27:23 +0200 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2017-06-29 16:20:39 +0200 |
commit | a1ecdcfb154ec79db4da595ca85ce75f9f759c6a (patch) | |
tree | c83ca747086eda6d99e5b3b42b914aa3cbb1df74 /test/parallel/test-icu-data-dir.js | |
parent | 9330835754dab25f3ccc1d903ac33837b94dabd9 (diff) | |
download | node-new-a1ecdcfb154ec79db4da595ca85ce75f9f759c6a.tar.gz |
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 <refack@gmail.com>
Diffstat (limited to 'test/parallel/test-icu-data-dir.js')
-rw-r--r-- | test/parallel/test-icu-data-dir.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-icu-data-dir.js b/test/parallel/test-icu-data-dir.js index f8a5e77dbd..5619d93402 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']); |