Changeset 17280 in josm for trunk/test


Ignore:
Timestamp:
2020-10-29T11:33:19+01:00 (4 years ago)
Author:
Don-vip
Message:

see #16567 - fix assertEquals parameters order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java

    r17275 r17280  
    22package org.openstreetmap.josm.tools;
    33
     4import static org.junit.Assume.assumeTrue;
    45import static org.junit.jupiter.api.Assertions.assertEquals;
    56import static org.junit.jupiter.api.Assertions.assertTrue;
    6 import static org.junit.Assume.assumeTrue;
    77
    88import java.text.DecimalFormat;
     
    1010import java.util.stream.Stream;
    1111
     12import org.junit.jupiter.api.Test;
    1213import org.junit.jupiter.api.extension.RegisterExtension;
    13 import org.junit.jupiter.api.Test;
    1414import org.openstreetmap.josm.testutils.JOSMTestRules;
    1515
     
    4040
    4141    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());
    4343    }
    4444
Note: See TracChangeset for help on using the changeset viewer.