Changeset 17582 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-03-17T22:15:57+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/mappaint/DividedScaleTest.java
r17575 r17582 103 103 .put("foo", new Range(4., 8.)); 104 104 Exception ex = assertThrows(DividedScale.RangeViolatedError.class, () -> scale.put("bar", new Range(4., 9.))); 105 assertEquals("the new range must be within a single subrange (1)", ex.getMessage());105 assertEquals("the new range must be within a single subrange", ex.getMessage()); 106 106 } 107 107 … … 125 125 .put("foo", new Range(4., 8.)); 126 126 Exception ex = assertThrows(DividedScale.RangeViolatedError.class, () -> scale.put("bar", new Range(2., 5.))); 127 assertEquals("the new range must be within a single subrange (2)", ex.getMessage());127 assertEquals("the new range must be within a single subrange", ex.getMessage()); 128 128 } 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.