diff --git a/components/datetime/tests/fixtures/tests/styles.json b/components/datetime/tests/fixtures/tests/styles.json index a3d2481e2da..fedd7d62a2a 100644 --- a/components/datetime/tests/fixtures/tests/styles.json +++ b/components/datetime/tests/fixtures/tests/styles.json @@ -101,7 +101,7 @@ } }, "output": { - "value": "субота, 21 сакавіка 2020 'г'. 'у' 08:25:07, zzzz" + "value": "субота, 21 сакавіка 2020 'г'. 'у' 08:25:07, zzzz" } } ] diff --git a/components/fs-data-provider/tests/test_file_io.rs b/components/fs-data-provider/tests/test_file_io.rs index 82d67382a4b..0e97fd33035 100644 --- a/components/fs-data-provider/tests/test_file_io.rs +++ b/components/fs-data-provider/tests/test_file_io.rs @@ -6,14 +6,13 @@ use std::borrow::Cow; #[test] fn test_read_json() { let provider = FsDataProvider::try_new("../../resources/testdata/data/json") - .expect("Loading file from testdata directory"); let response = provider .load(&DataRequest { data_key: icu_data_key!(plurals: cardinal@1), data_entry: DataEntry { variant: None, // TODO: Migrate to LanguageIdentifier macro - langid: "en".parse().expect("Valid language tag"), + langid: "sr".parse().expect("Valid language tag"), }, }) .expect("The key should be present in the testdata"); @@ -24,9 +23,9 @@ fn test_read_json() { plurals_data, &structs::plurals::PluralRuleStringsV1 { zero: None, - one: Some(Cow::Borrowed("i = 1 and v = 0")), + one: Some(Cow::Borrowed("v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1000.1, …")), two: None, - few: None, + few: Some(Cow::Borrowed("v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14 @integer 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … @decimal 0.2~0.4, 1.2~1.4, 2.2~2.4, 3.2~3.4, 4.2~4.4, 5.2, 10.2, 100.2, 1000.2, …")), many: None, } );