@@ -1324,6 +1324,7 @@ public void testParseWithDelimiterStringWithEscape() throws IOException {
13241324 assertEquals ("xyz" , csvRecord .get (1 ));
13251325 }
13261326 }
1327+
13271328 @ Test
13281329 public void testParseWithDelimiterStringWithQuote () throws IOException {
13291330 final String source = "'a[|]b[|]c'[|]xyz\r \n abc[abc][|]xyz" ;
@@ -1337,6 +1338,7 @@ public void testParseWithDelimiterStringWithQuote() throws IOException {
13371338 assertEquals ("xyz" , csvRecord .get (1 ));
13381339 }
13391340 }
1341+
13401342 @ Test
13411343 public void testParseWithDelimiterWithEscape () throws IOException {
13421344 final String source = "a!,b!,c,xyz" ;
@@ -1347,6 +1349,7 @@ public void testParseWithDelimiterWithEscape() throws IOException {
13471349 assertEquals ("xyz" , csvRecord .get (1 ));
13481350 }
13491351 }
1352+
13501353 @ Test
13511354 public void testParseWithDelimiterWithQuote () throws IOException {
13521355 final String source = "'a,b,c',xyz" ;
@@ -1357,13 +1360,15 @@ public void testParseWithDelimiterWithQuote() throws IOException {
13571360 assertEquals ("xyz" , csvRecord .get (1 ));
13581361 }
13591362 }
1363+
13601364 @ Test
13611365 public void testParseWithQuoteThrowsException () {
13621366 final CSVFormat csvFormat = CSVFormat .DEFAULT .withQuote ('\'' );
13631367 assertThrows (IOException .class , () -> csvFormat .parse (new StringReader ("'a,b,c','" )).nextRecord ());
13641368 assertThrows (IOException .class , () -> csvFormat .parse (new StringReader ("'a,b,c'abc,xyz" )).nextRecord ());
13651369 assertThrows (IOException .class , () -> csvFormat .parse (new StringReader ("'abc'a,b,c',xyz" )).nextRecord ());
13661370 }
1371+
13671372 @ Test
13681373 public void testParseWithQuoteWithEscape () throws IOException {
13691374 final String source = "'a?,b?,c?d',xyz" ;
@@ -1374,6 +1379,7 @@ public void testParseWithQuoteWithEscape() throws IOException {
13741379 assertEquals ("xyz" , csvRecord .get (1 ));
13751380 }
13761381 }
1382+
13771383 @ Test
13781384 public void testParsingPrintedEmptyFirstColumn () throws Exception {
13791385 final String [][] lines = { { "a" , "b" }, { "" , "x" } };
0 commit comments