Ticket #19407: 19407.windows_trim.patch
| File 19407.windows_trim.patch, 1.1 KB (added by , 5 years ago) |
|---|
-
test/unit/org/openstreetmap/josm/command/SequenceCommandTest.java
339 339 ReportedException reportedException = assertThrows(ReportedException.class, command::executeCommand); 340 340 StringWriter stringWriter = new StringWriter(); 341 341 reportedException.printReportDataTo(new PrintWriter(stringWriter)); 342 assertEquals( "=== REPORTED CRASH DATA ===\n" +342 assertEquals(("=== REPORTED CRASH DATA ===\n" + 343 343 "sequence_information:\n" + 344 344 " - sequence_name: Sequence: test\n" + 345 345 " - sequence_command: foo command\n" + … … 346 346 " - sequence_index: 0\n" + 347 347 " - sequence_commands: [null]\n" + 348 348 " - sequence_commands_descriptions: [foo command]\n" + 349 "\n" , stringWriter.toString());349 "\n").trim(), stringWriter.toString().trim()); 350 350 } 351 351 }
