Changeset 11890 in josm


Ignore:
Timestamp:
2017-04-12T23:42:43+02:00 (8 months ago)
Author:
Don-vip
Message:

fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/OpeningHourTestTest.java

    r10467 r11890  
    7272    }
    7373
     74    /**
     75     * Test translated messages.
     76     */
    7477    @Test
    7578    public void testI18n() {
     
    118121        assertThat(openingHourTest.checkOpeningHourSyntax(null, null), isEmpty());
    119122        assertThat(openingHourTest.checkOpeningHourSyntax(null, ""), isEmpty());
    120         assertThat(openingHourTest.checkOpeningHourSyntax(null, " "), isEmpty());
     123        assertEquals("null - The value contains nothing meaningful which can be parsed.",
     124                openingHourTest.checkOpeningHourSyntax(null, " ").get(0).getMessage());
    121125    }
    122126
Note: See TracChangeset for help on using the changeset viewer.