Changeset 17604 in josm for trunk/test
- Timestamp:
- 2021-03-20T15:03:14+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java
r17601 r17604 222 222 void testRegexKeyCondition() throws Exception { 223 223 KeyRegexpCondition c1 = (KeyRegexpCondition) getParser("[/.*:(backward|forward)$/]").condition(PRIMITIVE); 224 assertEquals(Pattern.compile(".*:(backward|forward)$") , ((KeyRegexpCondition) c1).pattern);224 assertEquals(Pattern.compile(".*:(backward|forward)$").pattern(), c1.pattern.pattern()); 225 225 assertFalse(c1.applies(getEnvironment("lanes", "3"))); 226 226 assertTrue(c1.applies(getEnvironment("lanes:forward", "3")));
Note:
See TracChangeset
for help on using the changeset viewer.