Changeset 6534 in josm for trunk/test/unit/org/openstreetmap


Ignore:
Timestamp:
2013-12-26T01:43:30+01:00 (11 years ago)
Author:
simon04
Message:

fix #9470 see #9414 - make "layer tag with + sign" auto fixable

File:
1 edited

Legend:

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

    r6513 r6534  
    4343        final MapCSSTagChecker.TagCheck check = checks.get(0);
    4444        assertThat(check, notNullValue());
    45         assertThat(check.change.get(0), is(new Tag("natural")));
    46         assertThat(check.change.get(1), is(new Tag("natural", "wetland")));
    47         assertThat(check.change.get(2), is(new Tag("wetland", "marsh")));
     45        assertThat(check.change.get(0).apply(null), is(new Tag("natural")));
     46        assertThat(check.change.get(1).apply(null), is(new Tag("natural", "wetland")));
     47        assertThat(check.change.get(2).apply(null), is(new Tag("wetland", "marsh")));
    4848        assertThat(check.errors.keySet().iterator().next(), is("natural=marsh is deprecated"));
    4949        final Node n1 = new Node();
Note: See TracChangeset for help on using the changeset viewer.