diff --git a/crates/nu-utils/src/locale.rs b/crates/nu-utils/src/locale.rs index 663756814b..033e4caeb6 100644 --- a/crates/nu-utils/src/locale.rs +++ b/crates/nu-utils/src/locale.rs @@ -29,6 +29,8 @@ pub fn get_system_locale_string() -> Option { }, #[cfg(test)] { + // For tests, we use the same locale on all systems. + // To override this, set `LOCALE_OVERRIDE_ENV_VAR`. || Some(Locale::en_US_POSIX.name().to_owned()) }, )