From 8fdac923e8b0d862336a67a078baafc52daa1b03 Mon Sep 17 00:00:00 2001 From: Urgau Date: Sun, 19 May 2024 19:39:34 +0200 Subject: [PATCH] Make `git::use_the_cli` test truly locale independent --- tests/testsuite/git.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testsuite/git.rs b/tests/testsuite/git.rs index 32cf02b0d7f..1115b0a8f6d 100644 --- a/tests/testsuite/git.rs +++ b/tests/testsuite/git.rs @@ -2831,7 +2831,11 @@ From [..] [FINISHED] [..] "; - project.cargo("check -v").with_stderr(stderr).run(); + project + .cargo("check -v") + .env("LC_ALL", "C") + .with_stderr(stderr) + .run(); assert!(paths::home().join(".cargo/git/CACHEDIR.TAG").is_file()); }