]> source.dussan.org Git - poi.git/commitdiff
fix build issue
authorPJ Fanning <fanningpj@apache.org>
Fri, 3 Aug 2018 07:41:22 +0000 (07:41 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 3 Aug 2018 07:41:22 +0000 (07:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837349 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java

index 41facd92072157fb7a6864b24c163b63436bf8d9..be169977fbc8c3c0389e61102bbbce7c0568df00 100644 (file)
@@ -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();