Browse Source

fix flaytests in SimpleDataTest

developing
Cai, Zhouxiang 4 years ago
parent
commit
6e0ca6b2a4
  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) {
// Synchronous read file
EasyExcel.write(file, SimpleData.class).sheet().doWrite(data());
List<Object> list = EasyExcel.read(file).head(SimpleData.class).sheet().doReadSync();
Assert.assertEquals(list.size(), 10);
Assert.assertTrue(list.get(0) instanceof SimpleData);

Loading…
Cancel
Save