Changeset 16909 in josm
- Timestamp:
- 2020-08-23T12:39:31+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java
r15984 r16909 661 661 assertFalse(rule.contains("areaStyle")); 662 662 } 663 664 /** 665 * Non-regression test for <a href="https://josm.openstreetmap.de/ticket/19685">Bug #19685</a>. 666 */ 667 @Test 668 public void testTicket19685() { 669 MapCSSStyleSource sheet = new MapCSSStyleSource("node:connection:foobar {}"); 670 sheet.loadStyleSource(); 671 assertEquals(1, sheet.getErrors().size()); 672 assertEquals("Error at line 1, column 17: Invalid pseudo class specified: foobar", sheet.getErrors().iterator().next().getMessage()); 673 } 663 674 }
Note:
See TracChangeset
for help on using the changeset viewer.