Commit 2332d7a
committed
Auto merge of #13935 - Urgau:local-independent-git-test, r=epage
Make `git::use_the_cli` test truly locale independent
### What does this PR try to resolve?
The current `git::use_the_cli` test part the output of Git but that output is locale dependant, making it fail on my non-english system.
Specifically this part of the test is local-dependent:
```
From [..]
* [new ref] [..] -> origin/HEAD[..]
```
Adding the `LC_ALL=C` env to the cargo invocation solve the issue, making the test locale independent.
### How should we test and review this PR?
Trying putting a different `LC_ALL` locale and the test will fail without this PR and will not fail with my PR.1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2831 | 2831 | | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | | - | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
2835 | 2839 | | |
2836 | 2840 | | |
2837 | 2841 | | |
| |||
0 commit comments