We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af28635 commit c18595dCopy full SHA for c18595d
1 file changed
src/test/java/org/apache/commons/csv/issues/JiraCvs249Test.java
@@ -34,11 +34,8 @@ public class JiraCvs249Test {
34
35
@Test
36
public void testJiraCsv249() throws IOException {
37
-
38
final CSVFormat csvFormat = CSVFormat.DEFAULT.withEscape('\\');
39
40
final StringWriter stringWriter = new StringWriter();
41
42
try (CSVPrinter printer = new CSVPrinter(stringWriter, csvFormat)) {
43
printer.printRecord("foo \\", "bar");
44
}
@@ -47,7 +44,6 @@ public void testJiraCsv249() throws IOException {
47
try (CSVParser parser = new CSVParser(stringReader, csvFormat)) {
48
45
records = parser.getRecords();
49
46
50
51
records.forEach(record -> {
52
assertEquals("foo \\", record.get(0));
53
assertEquals("bar", record.get(1));
0 commit comments