ICU-22922 Integrate CLDR 47 release alpha1, part 4, updated unit test

This commit is contained in:
DraganBesevic 2025-01-29 08:50:35 -08:00 committed by DraganBesevic
parent d49c1242f9
commit 4e1d9b30a5

View file

@ -569,8 +569,8 @@ public class LocaleMatcherTest extends CoreTestFmwk {
@Test
public void testAsymmetry() {
LocaleMatcher matcher;
matcher = new LocaleMatcher("mul, nl");
assertEquals("mul", matcher.getBestMatch("af").toString()); // af => nl
matcher = new LocaleMatcher("mul, de");
assertEquals("de", matcher.getBestMatch("gsw").toString()); // af => nl
matcher = new LocaleMatcher("mul, af");
assertEquals("mul", matcher.getBestMatch("nl").toString()); // but nl !=> af