From 45b71941341333ee7eca2f3503292a06018e74eb Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 3 Aug 2018 07:41:22 +0000 Subject: [PATCH] fix build issue git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837349 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java index 41facd9207..be169977fb 100644 --- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java +++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFRun.java @@ -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(); -- 2.39.5