This commit is contained in:
Looly
2025-08-11 11:14:53 +08:00
parent 3d49f9bf39
commit 6e382b869e
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package cn.hutool.core.text.csv;
import cn.hutool.core.io.resource.ResourceUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class IssueICRMKATest {
@Test
public void issueICRMAKTest() {
CsvReader reader = CsvUtil.getReader();
CsvData data = reader.read(ResourceUtil.getUtf8Reader("issueICRMKA.csv"));
final CsvRow row = data.getRow(1);
Assertions.assertEquals("6.3\" Google Pixel 9 Pro 128 GB Beige", row.get(0));
}
}

View File

@@ -0,0 +1,2 @@
config,price,unit,package_name,package,equipment,pic_path,crawler_date,set_Discount,installment_details,installment_price,installment_time
6.3" Google Pixel 9 Pro 128 GB Beige,94999,,fwefwe,fewfew,"Cores - 8x(3.1 GHz), 16 GB, 1 SIM, OLED, 2856x1280, 50+48+48 MP camera, NFC, 5G, GPS, 4700 mAh more details",["https://xx.png"],2025/8/1 4:05,,gerwgrweg,fwefw,fwefwe
Can't render this file because it contains an unexpected character in line 2 and column 4.