- Timestamp:
- 2022-09-26T17:45:59+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/TestUtils.java
r18555 r18562 602 602 */ 603 603 public static void assertEqualsNewline(String expected, String actual) { 604 String[] actualArray = actual. split(System.lineSeparator(), -1);604 String[] actualArray = actual.replace(System.lineSeparator(), "\n").split("\n", -1); 605 605 String[] expectedArray = expected.split("\n", -1); 606 606 assertAll(() -> assertEquals(expectedArray.length, actualArray.length, "Different number of newlines"),
Note:
See TracChangeset
for help on using the changeset viewer.