Browse Source

Merge remote-tracking branch 'origin/3.x' into 3.x

developing
Jiaju Zhuang 4 years ago
parent
commit
8e500915f9
  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,6 +62,7 @@ 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