Skip to content

Clear LC_* env vars when running LANG tests#5568

Merged
stefanhaller merged 1 commit into
jesseduffield:masterfrom
AntoineGS:tests/unset-lc_all
May 1, 2026
Merged

Clear LC_* env vars when running LANG tests#5568
stefanhaller merged 1 commit into
jesseduffield:masterfrom
AntoineGS:tests/unset-lc_all

Conversation

@AntoineGS

Copy link
Copy Markdown
Contributor

In the event that LC_ALL was set, for example, the tests would fail as it takes precedence over LANG.

Tiny change that prevents language tests from failing if LC_ALL is set (I also added LC_MESSAGES but I am not sure if that's also needed, from what I read it also takes precedence) so I did not open an issue prior, hopefully that's ok!

In the event that LC_ALL was set, for example, the tests would fail as
it takes precedence over LANG
@stefanhaller stefanhaller force-pushed the tests/unset-lc_all branch from 8631e4f to f4e0e9e Compare May 1, 2026 06:13
@stefanhaller stefanhaller added the maintenance For refactorings, CI changes, tests, version bumping, etc label May 1, 2026
@stefanhaller

Copy link
Copy Markdown
Collaborator

Makes sense, thanks.

@stefanhaller stefanhaller enabled auto-merge May 1, 2026 06:14
@stefanhaller stefanhaller merged commit 8bc329a into jesseduffield:master May 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance For refactorings, CI changes, tests, version bumping, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants