Changeset 8741 in josm for trunk/test


Ignore:
Timestamp:
2015-09-10T08:45:02+02:00 (4 years ago)
Author:
simon04
Message:

fix #11846 - MapCSS validator: make ignoring "Whole group" work again

File:
1 edited

Legend:

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

    r8509 r8741  
    106106        assertThat(errors.size(), is(1));
    107107        assertThat(errors.iterator().next().getMessage(), is("has alt_name but not name"));
     108        assertThat(errors.iterator().next().getIgnoreSubGroup(), is("3000_*[.+_name][!name]"));
    108109    }
    109110
     
    116117        assertThat(errors.size(), is(1));
    117118        assertThat(errors.iterator().next().getMessage(), is("footway used with foot=no"));
     119        assertThat(errors.iterator().next().getIgnoreSubGroup(), is("3000_way[highway=footway][foot]"));
    118120    }
    119121
Note: See TracChangeset for help on using the changeset viewer.