We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c369ef0 commit d93152dCopy full SHA for d93152d
test/parallel/test-intl.js
@@ -127,10 +127,13 @@ if (!common.hasIntl) {
127
// `ffi` ligature (contraction)
128
assert.strictEqual(coll.compare('\ufb03', 'ffi'), 0);
129
130
- // Regression test for https://github.com/nodejs/node/issues/27379
131
- execFile(
132
- process.execPath, ['-p', 'new Date().toLocaleString()'],
133
- { env: { LC_ALL: 'ja' }, encoding: 'utf-8' },
134
- common.mustCall((e) => assert.ifError(e))
135
- );
+ {
+ // Regression test for https://github.com/nodejs/node/issues/27379
+ const env = { ...process.env, LC_ALL: 'ja' };
+ execFile(
+ process.execPath, ['-p', 'new Date().toLocaleString()'],
+ { env },
136
+ common.mustCall((e) => assert.ifError(e))
137
+ );
138
+ }
139
}
0 commit comments