mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 00:57:26 +00:00
i18n: the region test module builds only where its one test runs
This commit is contained in:
@@ -389,11 +389,10 @@ fn read_system() -> Region {
|
||||
Region::from_tag(&sys_locale::get_locale().unwrap_or_default())
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, unix, not(any(target_vendor = "apple", target_os = "android"))))]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[cfg(all(unix, not(any(target_vendor = "apple", target_os = "android"))))]
|
||||
#[test]
|
||||
fn each_locale_category_decides_its_own_part_and_lc_all_all_of_them() {
|
||||
let env =
|
||||
|
||||
Reference in New Issue
Block a user