Skip to content

Commit

Permalink
Make git::use_the_cli test truly locale independent
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed May 19, 2024
1 parent c256d74 commit 8fdac92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testsuite/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 8fdac92

Please sign in to comment.