mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix NPE bug
This commit is contained in:
@@ -245,9 +245,9 @@ public class ExcelReadTest {
|
||||
Assert.assertEquals("", objects.get(2));
|
||||
}
|
||||
|
||||
@Test(expected = NullPointerException.class)
|
||||
@Ignore
|
||||
@Test
|
||||
public void readColumnNPETest() {
|
||||
// https://github.com/dromara/hutool/pull/2234
|
||||
ExcelReader reader = ExcelUtil.getReader(ResourceUtil.getStream("read_row_npe.xlsx"));
|
||||
reader.readColumn(0, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user