Changeset 17280 in josm for trunk/test
- Timestamp:
- 2020-10-29T11:33:19+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java
r17275 r17280 2 2 package org.openstreetmap.josm.tools; 3 3 4 import static org.junit.Assume.assumeTrue; 4 5 import static org.junit.jupiter.api.Assertions.assertEquals; 5 6 import static org.junit.jupiter.api.Assertions.assertTrue; 6 import static org.junit.Assume.assumeTrue;7 7 8 8 import java.text.DecimalFormat; … … 10 10 import java.util.stream.Stream; 11 11 12 import org.junit.jupiter.api.Test; 12 13 import org.junit.jupiter.api.extension.RegisterExtension; 13 import org.junit.jupiter.api.Test;14 14 import org.openstreetmap.josm.testutils.JOSMTestRules; 15 15 … … 40 40 41 41 private void checkGroupingSymbol(Locale locale) { 42 assertEquals( locale.toString(), "123\u202F456", DecimalFormat.getInstance(locale).format(123_456));42 assertEquals("123\u202F456", DecimalFormat.getInstance(locale).format(123_456), locale.toString()); 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.