Changeset 11084 in josm


Ignore:
Timestamp:
2016-10-06T22:26:38+02:00 (3 years ago)
Author:
simon04
Message:

see #13762 - Add non-regression unit test

File:
1 edited

Legend:

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

    r11014 r11084  
    174174        assertTrue("not all assertions included in the tests are met", assertionErrors.isEmpty());
    175175    }
     176
     177    /**
     178     * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/13762">Bug #13762</a>.
     179     * @throws ParseException if a parsing error occurs
     180     */
     181    @Test
     182    public void testTicket13762() throws ParseException {
     183        final ParseResult parseResult = TagCheck.readMapCSS(new StringReader("" +
     184                "meta[lang=de] {\n" +
     185                "    title: \"Deutschlandspezifische Regeln\";" +
     186                "}"));
     187        assertTrue(parseResult.parseErrors.isEmpty());
     188    }
    176189}
Note: See TracChangeset for help on using the changeset viewer.