Changeset 15935 in josm for trunk/test/unit/org
- Timestamp:
- 2020-02-26T01:52:19+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java
r15925 r15935 648 648 assertNotNull(getParser("|z16-15").zoom()); 649 649 } 650 651 /** 652 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/16183">Bug #16183</a>. 653 */ 654 @Test 655 public void testTicket16183() { 656 MapCSSStyleSource sheet = new MapCSSStyleSource( 657 "area:closed:areaStyle ⧉ area:closed:areaStyle {throwOther: \"xxx\";}"); 658 sheet.loadStyleSource(); 659 final String rule = sheet.rules.get(0).toString(); 660 assertTrue(rule.contains("closed")); 661 assertFalse(rule.contains("areaStyle")); 662 } 650 663 }
Note:
See TracChangeset
for help on using the changeset viewer.