Fixed a test failure which occurred under certain circumstances (Java 1.5 with default locale GERMAN).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1098403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aed9a4bd31
commit
ad97691891
|
@ -96,7 +96,7 @@ public void test_getInstance_String_Locale() {
|
|||
|
||||
assertTrue(format1 != format2); // -- junit 3.8 version -- assertFalse(format1 == format2);
|
||||
assertSame(format1, format3);
|
||||
assertSame(Locale.GERMANY, format1.getLocale());
|
||||
assertEquals(Locale.GERMANY, format1.getLocale());
|
||||
|
||||
} finally {
|
||||
Locale.setDefault(realDefaultLocale);
|
||||
|
|
Loading…
Reference in New Issue