Skip to content

Commit 8997ac0

Browse files
committed
Use specific locale for cmp_fast_path test
The test was failing in the regular MacOS terminal due to it defaulting to LC_ALL=C. Best to standardize like the other tests that check for locale-dependent output.
1 parent df90e37 commit 8997ac0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ mod cmp {
864864
let mut cmd = cargo_bin_cmd!("diffutils");
865865
cmd.arg("cmp");
866866
cmd.arg(&a_path).arg(&b_path);
867+
cmd.env("LC_ALL", "en_US");
867868
cmd.assert()
868869
.code(predicate::eq(1))
869870
.failure()

0 commit comments

Comments
 (0)