Changeset 18981 in josm


Ignore:
Timestamp:
2024-02-13T22:24:20+01:00 (10 months ago)
Author:
taylor.smock
Message:

See #23290/r18980: Update test messages

File:
1 edited

Legend:

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

    r18958 r18981  
    235235        final List<TestError> errors = test(OsmUtils.createPrimitive("node highway=crossing crossing_ref=zebra"));
    236236        assertEquals(1, errors.size());
    237         assertEquals("Invalid region for this preset", errors.get(0).getMessage());
     237        assertEquals("Key from a preset is invalid in this region", errors.get(0).getMessage());
    238238        assertEquals("Preset Pedestrian Crossing should not have the key crossing_ref", errors.get(0).getDescription());
    239239        assertEquals(Severity.WARNING, errors.get(0).getSeverity());
     
    246246        final List<TestError> errors = test(OsmUtils.createPrimitive("relation type=waterway ref:gnis=123456"));
    247247        assertEquals(1, errors.size());
    248         assertEquals("Invalid region for this preset", errors.get(0).getMessage());
     248        assertEquals("Key from a preset is invalid in this region", errors.get(0).getMessage());
    249249        assertEquals("Preset Waterway should not have the key ref:gnis", errors.get(0).getDescription());
    250250        assertEquals(Severity.WARNING, errors.get(0).getSeverity());
Note: See TracChangeset for help on using the changeset viewer.