Skip to content

Commit fa9e647

Browse files
tniessenaddaleax
authored andcommitted
test: fix failure in test-icu-data-dir.js
This fixes a broken test on Windows caused by EOL conversion. PR-URL: #13987 Refs: #13940 Refs: #13986 Reviewed-By: Refael Ackermann <[email protected]>
1 parent dff506c commit fa9e647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/parallel/test-icu-data-dir.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const assert = require('assert');
88
const{ spawnSync }=require('child_process');
99

1010
constexpected=
11-
'could not initialize ICU '+
12-
'(check NODE_ICU_DATA or --icu-data-dir parameters)\n';
11+
'could not initialize ICU (check NODE_ICU_DATA or '+
12+
'--icu-data-dir parameters)'+(common.isWindows ? '\r\n' : '\n');
1313

1414
{
1515
constchild=spawnSync(process.execPath,['--icu-data-dir=/','-e','0']);

0 commit comments

Comments
(0)