mirror of
https://github.com/nushell/nushell.git
synced 2025-03-13 06:58:47 +01:00
Add comment for locale override for tests
This commit is contained in:
parent
b5eda61fcd
commit
85e690756a
@ -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())
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user