From db7cc710658190f83f887adb8c825aaaef014b34 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Thu, 12 Sep 2024 21:30:14 +0200 Subject: [PATCH] fix: make tests independent of system locale --- git-branchless-lib/src/testing.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/git-branchless-lib/src/testing.rs b/git-branchless-lib/src/testing.rs index 622e9bcc8..cae3432d7 100644 --- a/git-branchless-lib/src/testing.rs +++ b/git-branchless-lib/src/testing.rs @@ -191,6 +191,7 @@ impl Git { ("GIT_COMMITTER_DATE", date), ("GIT_EDITOR", git_editor), ("GIT_EXEC_PATH", self.git_exec_path.as_os_str().into()), + ("LC_ALL", "C".into()), ("PATH", new_path), (TEST_GIT, self.path_to_git.as_os_str().into()), (