You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bs...@apache.org on 2007/11/13 22:21:51 UTC
svn commit: r594644 -
/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
Author: bspeakmon
Date: Tue Nov 13 13:21:50 2007
New Revision: 594644
URL: http://svn.apache.org/viewvc?rev=594644&view=rev
Log:
- force Locale.US for tests
Modified:
commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java?rev=594644&r1=594643&r2=594644&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/AbstractMessageFormatTest.java Tue Nov 13 13:21:50 2007
@@ -50,6 +50,8 @@
*/
protected void setUp() throws Exception {
super.setUp();
+ // tests depend on Locale.US
+ java.util.Locale.setDefault(java.util.Locale.US);
}
protected abstract MessageFormat createMessageFormat(String pattern);