Ignore:
Timestamp:
2024-04-27T10:24:46+02:00 (3 weeks ago)
Author:
GerdP
Message:

see #21881 Add a check for loops in directional waterways

  • fix @since xxx
  • adapt unit test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/osm/WaySegmentTest.java

    r18853 r19064  
    3737        assertEquals(WaySegment.forNodePair(w, n4, n1).getLowerIndex(), 5);
    3838        IllegalArgumentException iae = assertThrows(IllegalArgumentException.class, () -> WaySegment.forNodePair(w, n3, n4));
    39         assertEquals("Node pair is not part of way!", iae.getMessage());
     39        assertEquals("The node pair is not consecutive part of the way!", iae.getMessage());
    4040    }
    4141}
Note: See TracChangeset for help on using the changeset viewer.