Add comment for locale override for tests

This commit is contained in:
Ian Manske 2025-03-09 15:18:21 -07:00
parent b5eda61fcd
commit 85e690756a

View File

@ -29,6 +29,8 @@ pub fn get_system_locale_string() -> Option<String> {
},
#[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())
},
)