Skip to content

Commit 31ac8b9

Browse files
srl295targos
authored andcommitted
deps: backport ICU-20575 to fix err/crasher
- Floating patch for ICU 64.x - includes test case ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575 Backport of: unicode-org/icu#634 Fixes: #27418 PR-URL: #27435 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 617c55e commit 31ac8b9

File tree

2 files changed

+2426
-0
lines changed

2 files changed

+2426
-0
lines changed

test/parallel/test-intl.js

+11
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,15 @@ if (!common.hasIntl) {
136136
common.mustCall((e) => assert.ifError(e))
137137
);
138138
}
139+
140+
{
141+
// Regression test for https://github.com/nodejs/node/issues/27418
142+
const env = { ...process.env, LC_ALL: 'fr@EURO' };
143+
execFile(
144+
process.execPath,
145+
['-p', 'new Intl.NumberFormat().resolvedOptions().locale'],
146+
{ env },
147+
common.mustCall((e) => assert.ifError(e))
148+
);
149+
}
139150
}

0 commit comments

Comments
 (0)