Browse Source

Merge pull request #1684 from zcai2/SimpleDataTestFlaky

fix flaytests in SimpleDataTest
developing
Jiaju Zhuang 4 years ago committed by GitHub
parent
commit
9c6c9562d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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