Nit-pick (unit test).

This commit is contained in:
Gilles Sadowski 2020-10-28 17:47:24 +01:00
parent 9a84109c7e
commit 1bc542778b
1 changed files with 2 additions and 3 deletions

View File

@ -340,9 +340,8 @@ public abstract class ComplexFormatAbstractTest {
@Test @Test
public void testGetAvailableLocales() { public void testGetAvailableLocales() {
HashSet<Locale> s1 = new HashSet<>(Arrays.asList(NumberFormat.getAvailableLocales())); Assert.assertEquals(new HashSet<>(Arrays.asList(NumberFormat.getAvailableLocales())),
HashSet<Locale> s2 = new HashSet<>(Arrays.asList(ComplexFormat.getAvailableLocales())); new HashSet<>(Arrays.asList(ComplexFormat.getAvailableLocales())));
Assert.assertEquals(s1,s2);
} }
@Test @Test