Changeset 14579 in josm for trunk


Ignore:
Timestamp:
2018-12-21T16:52:59+01:00 (6 years ago)
Author:
GerdP
Message:

see #17120: fix unit test: shop=gas was added to presets, use shop=abs instead

Hope this will never make it into the presets...

File:
1 edited

Legend:

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

    r14571 r14579  
    159159    @Test
    160160    public void testShortValNotInPreset2() throws IOException {
    161         final List<TestError> errors = test(OsmUtils.createPrimitive("node shop=gas"));
     161        final List<TestError> errors = test(OsmUtils.createPrimitive("node shop=abs"));
    162162        assertEquals(1, errors.size());
    163163        assertEquals("Presets do not contain property value", errors.get(0).getMessage());
    164         assertEquals("Value 'gas' for key 'shop' not in presets.", errors.get(0).getDescription());
     164        assertEquals("Value 'abs' for key 'shop' not in presets.", errors.get(0).getDescription());
    165165        assertEquals(Severity.OTHER, errors.get(0).getSeverity());
    166166        assertFalse(errors.get(0).isFixable());
Note: See TracChangeset for help on using the changeset viewer.