Changeset 15862 in josm for trunk/test/unit
- Timestamp:
- 2020-02-16T15:45:59+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
r15760 r15862 71 71 assertEquals("", Utils.strip(" ")); 72 72 assertEquals("", Utils.strip(someWhite)); 73 assertEquals("", Utils.strip("\u200B")); 74 assertEquals("", Utils.strip("\uFEFF")); 73 75 assertEquals("a", Utils.strip("a")); 74 76 assertEquals("ab", Utils.strip("ab")); … … 85 87 86 88 // extended skip 89 assertNull(Utils.strip(null, "abc")); 90 assertEquals("", Utils.strip("", "b")); 91 assertEquals("", Utils.strip("abbbb", "ab")); 87 92 assertEquals("a", Utils.strip("a", "b")); 93 assertEquals("a", Utils.strip("abbbb", "b")); 88 94 assertEquals("b", Utils.strip("acbcac", "ac")); 89 95 }
Note:
See TracChangeset
for help on using the changeset viewer.