Skip to content

Commit 2260c40

Browse files
authored
Fix test_env and test_environ to expect any locale. (#24632)
Fixes test to pass on different locales on Windows.
1 parent ca3d456 commit 2260c40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/core/test_env.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LOGNAME=web_user
44
PATH=/
55
PWD=/
66
HOME=/home/web_user
7-
LANG=(C|en_US).UTF-8
7+
LANG=(C|.._..).UTF-8
88
_=.*(/test_env.m?js|./this.program)
99

1010
getenv\(PATH\): /

test/core/test_environ.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ LOGNAME=web_user
33
PATH=/
44
PWD=/
55
HOME=/home/web_user
6-
LANG=(C|en_US).UTF-8
6+
LANG=(C|.._..).UTF-8
77
_=.*(/test_environ.m?js|/this.program)

0 commit comments

Comments
 (0)