No need for all the whitespace.

This commit is contained in:
Gary Gregory 2019-10-06 17:24:24 -04:00
parent af28635557
commit c18595d1c4
1 changed files with 0 additions and 4 deletions

View File

@ -34,11 +34,8 @@ public class JiraCvs249Test {
@Test
public void testJiraCsv249() throws IOException {
final CSVFormat csvFormat = CSVFormat.DEFAULT.withEscape('\\');
final StringWriter stringWriter = new StringWriter();
try (CSVPrinter printer = new CSVPrinter(stringWriter, csvFormat)) {
printer.printRecord("foo \\", "bar");
}
@ -47,7 +44,6 @@ public class JiraCvs249Test {
try (CSVParser parser = new CSVParser(stringReader, csvFormat)) {
records = parser.getRecords();
}
records.forEach(record -> {
assertEquals("foo \\", record.get(0));
assertEquals("bar", record.get(1));