From 8997ac06b8eea7ae273afe03fc1dcb850057c65b Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Mon, 22 Dec 2025 13:03:44 -0300 Subject: [PATCH] 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. --- tests/integration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration.rs b/tests/integration.rs index 476660f..41c9a84 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -864,6 +864,7 @@ mod cmp { let mut cmd = cargo_bin_cmd!("diffutils"); cmd.arg("cmp"); cmd.arg(&a_path).arg(&b_path); + cmd.env("LC_ALL", "en_US"); cmd.assert() .code(predicate::eq(1)) .failure()