We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 617c55e commit 31ac8b9Copy full SHA for 31ac8b9
test/parallel/test-intl.js
@@ -136,4 +136,15 @@ if (!common.hasIntl) {
136
common.mustCall((e) => assert.ifError(e))
137
);
138
}
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
+ }
150
0 commit comments