Make tests a little more bullet-proof.

This commit is contained in:
Gary Gregory 2017-10-09 14:54:31 -06:00
parent 732ea5e94f
commit 09d70ce73d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {