Browse Source

修改合并问题

developing
Jiaju Zhuang 4 years ago
parent
commit
d90b9fd809
  1. 1
      src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java

1
src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java

@ -62,7 +62,6 @@ public class SimpleDataTest {
private void synchronousRead(File file) { private void synchronousRead(File file) {
// Synchronous read file // Synchronous read file
EasyExcel.write(file, SimpleData.class).sheet().doWrite(data());
List<Object> list = EasyExcel.read(file).head(SimpleData.class).sheet().doReadSync(); List<Object> list = EasyExcel.read(file).head(SimpleData.class).sheet().doReadSync();
Assert.assertEquals(list.size(), 10); Assert.assertEquals(list.size(), 10);
Assert.assertTrue(list.get(0) instanceof SimpleData); Assert.assertTrue(list.get(0) instanceof SimpleData);

Loading…
Cancel
Save