mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
46b13e3a2c
commit
aa04f420ef
@ -0,0 +1,16 @@
|
|||||||
|
package cn.hutool.core.text.csv;
|
||||||
|
|
||||||
|
import cn.hutool.core.lang.Console;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import java.io.StringReader;
|
||||||
|
|
||||||
|
public class IssueIB5UQ8Test {
|
||||||
|
@Test
|
||||||
|
void parseEscapeTest() {
|
||||||
|
String csv = "\"Consultancy, 10\"\",, food\"";
|
||||||
|
final CsvReader reader = CsvUtil.getReader(new StringReader(csv));
|
||||||
|
final String s = reader.read().getRow(0).get(0);
|
||||||
|
Console.log(s);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user