commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [lang] Make tests a little more bullet-proof.
Date Mon, 09 Oct 2017 20:54:33 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 732ea5e94 -> 09d70ce73


Make tests a little more bullet-proof.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/09d70ce7
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/09d70ce7
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/09d70ce7

Branch: refs/heads/master
Commit: 09d70ce73dd37544c92621eecb7faf062fccbd5b
Parents: 732ea5e
Author: Gary Gregory <ggregory@apache.org>
Authored: Mon Oct 9 14:54:31 2017 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Mon Oct 9 14:54:31 2017 -0600

----------------------------------------------------------------------
 .../org/apache/commons/lang3/text/ExtendedMessageFormatTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/09d70ce7/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
index 7e2967c..b5f3717 100644
--- a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
@@ -406,7 +406,7 @@ public class ExtendedMessageFormatTest {
 
         @Override
         public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
-            return toAppendTo.append(((String)obj).toLowerCase());
+            return toAppendTo.append(((String)obj).toLowerCase(Locale.ROOT));
         }
         @Override
         public Object parseObject(final String source, final ParsePosition pos) {


Mime
View raw message