This commit is contained in:
Looly 2020-03-23 17:53:10 +08:00
parent e40c4ccd05
commit 36c706bc7d
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,9 @@
package cn.hutool.core.img;
import cn.hutool.core.io.FileUtil;
import org.junit.Ignore;
import org.junit.Test;
import cn.hutool.core.io.FileUtil;
public class ImgTest {
@Test

View File

@ -419,9 +419,9 @@ public class ExcelWriteTest {
}
@Test
@Ignore
// @Ignore
public void addSelectTest2() {
ExcelWriter writer = ExcelUtil.getWriter("d:/test/select.xlsx");
ExcelWriter writer = ExcelUtil.getWriter(true);
writer.writeCellValue(0, 0, "请选择科目");
int firstRow = 0;
int lastRow = 0;
@ -433,6 +433,7 @@ public class ExcelWriteTest {
List<?> rows = new ArrayList<>();
writer.write(rows, true);
writer.flush(FileUtil.file("d:/test/select.xlsx"));
writer.close();
}