mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
4e53a9c0b5
commit
24803f8f0c
@ -60,7 +60,7 @@ public class TemplateWriterTest {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void writeNoneOneLineTest() {
|
void writeNoneOneLineTest() {
|
||||||
final ExcelWriter writer = ExcelUtil.getWriter(targetDir + "templateWithFooterNoneOneLine.xlsx");
|
final ExcelWriter writer = ExcelUtil.getWriter("templateWithFooterNoneOneLine.xlsx");
|
||||||
//writer.getConfig().setInsertRow(true);
|
//writer.getConfig().setInsertRow(true);
|
||||||
|
|
||||||
// 单个替换的变量
|
// 单个替换的变量
|
||||||
@ -73,7 +73,7 @@ public class TemplateWriterTest {
|
|||||||
writer.writeRow(createRow(), false);
|
writer.writeRow(createRow(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//writer.flush(FileUtil.file(targetDir + "templateWithFooterNoneOneLineResult.xlsx"), true);
|
writer.flush(FileUtil.file(targetDir + "templateWithFooterNoneOneLineResult.xlsx"), true);
|
||||||
writer.close();
|
writer.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
hutool-poi/src/test/resources/templateWithFooterNoneOneLine.xlsx
Normal file
BIN
hutool-poi/src/test/resources/templateWithFooterNoneOneLine.xlsx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user