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:
Oliver Heger 2011-05-01 20:27:16 +00:00
parent aed9a4bd31
commit ad97691891
1 changed files with 5 additions and 5 deletions

View File

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