Skip to content

Commit 8fdac92

Browse files
committed
Make git::use_the_cli test truly locale independent
1 parent c256d74 commit 8fdac92

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/testsuite/git.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,11 @@ From [..]
28312831
[FINISHED] [..]
28322832
";
28332833

2834-
project.cargo("check -v").with_stderr(stderr).run();
2834+
project
2835+
.cargo("check -v")
2836+
.env("LC_ALL", "C")
2837+
.with_stderr(stderr)
2838+
.run();
28352839
assert!(paths::home().join(".cargo/git/CACHEDIR.TAG").is_file());
28362840
}
28372841

0 commit comments

Comments
 (0)