mirror of https://github.com/apache/poi.git
fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4336f97e57
commit
45b7194134
|
@ -27,6 +27,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
|
||||
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
||||
import org.apache.poi.util.LocaleUtil;
|
||||
import org.apache.poi.util.Units;
|
||||
import org.apache.poi.wp.usermodel.HeaderFooterType;
|
||||
import org.apache.poi.xwpf.XWPFTestDataSamples;
|
||||
|
@ -727,7 +728,7 @@ public class TestXWPFRun {
|
|||
assertEquals("auto", run.getUnderlineColor());
|
||||
String colorRgb = "C0F1a2";
|
||||
run.setUnderlineColor(colorRgb);
|
||||
assertEquals(colorRgb.toUpperCase(), run.getUnderlineColor());
|
||||
assertEquals(colorRgb.toUpperCase(LocaleUtil.getUserLocale()), run.getUnderlineColor());
|
||||
run.setUnderlineColor("auto");
|
||||
assertEquals("auto", run.getUnderlineColor());
|
||||
document.close();
|
||||
|
|
Loading…
Reference in New Issue