- force Locale.US for tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594644 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Speakmon 2007-11-13 21:21:50 +00:00
parent bbde1ad30e
commit f59aa231f2
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ public abstract class AbstractMessageFormatTest extends TestCase {
*/
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);