fix expty excel bug

This commit is contained in:
Looly
2021-05-08 10:34:59 +08:00
parent 7c866e10e0
commit 79e7fe93f6
3 changed files with 13 additions and 0 deletions

View File

@@ -217,4 +217,11 @@ public class ExcelReadTest {
Assert.assertEquals("#", read.get(3).get(0));
Assert.assertEquals("#", read.get(3).get(1));
}
@Test
public void readEmptyTest(){
final ExcelReader reader = ExcelUtil.getReader("d:/test/issue.xlsx");
final List<Map<String, Object>> maps = reader.readAll();
Console.log(maps);
}
}