mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix null bug
This commit is contained in:
@@ -4,6 +4,7 @@ import cn.hutool.core.io.resource.ResourceUtil;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import cn.hutool.poi.excel.cell.CellHandler;
|
||||
import lombok.Data;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
@@ -225,4 +226,11 @@ public class ExcelReadTest {
|
||||
final List<Map<String, Object>> maps = reader.readAll();
|
||||
Console.log(maps);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void readNullRowTest(){
|
||||
final ExcelReader reader = ExcelUtil.getReader("d:/test/1.-.xls");
|
||||
reader.read((CellHandler) Console::log);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user