From 42fbe12f69bdd80352c389c0071788bb305f1c6d Mon Sep 17 00:00:00 2001 From: Looly Date: Wed, 18 Aug 2021 23:30:46 +0800 Subject: [PATCH] add test --- CHANGELOG.md | 2 +- .../java/cn/hutool/poi/excel/ExcelWriteTest.java | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e76114c70..8d83083e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ * 【core 】 CsvConfig改为泛型形式 * 【core 】 增加Partition * 【http 】 SoapClient.sendForResponse改为public(issue#I466NN@Gitee) -* 【core 】 XmlUtil增加append重载(issue#I466ZZ@Gitee) +* 【core 】 XmlUtil增加append重载(issue#I466Q0@Gitee) ### 🐞Bug修复 diff --git a/hutool-poi/src/test/java/cn/hutool/poi/excel/ExcelWriteTest.java b/hutool-poi/src/test/java/cn/hutool/poi/excel/ExcelWriteTest.java index 041349827..c98f3ab2b 100644 --- a/hutool-poi/src/test/java/cn/hutool/poi/excel/ExcelWriteTest.java +++ b/hutool-poi/src/test/java/cn/hutool/poi/excel/ExcelWriteTest.java @@ -733,4 +733,17 @@ public class ExcelWriteTest { writer.writeRow(ListUtil.of(22.9f)); writer.close(); } + + @Test + @Ignore + public void issueI466ZZTest(){ + // https://gitee.com/dromara/hutool/issues/I466ZZ + // 需要输出S_20000314_x5116_0004 + // 此处加入一个转义前缀:_x005F + List row = ListUtil.of("S_20000314_x005F_x5116_0004"); + + ExcelWriter writer = ExcelUtil.getWriter("d:/test/_x.xlsx"); + writer.writeRow(row); + writer.close(); + } }