diff options
author | Narayan Kamath <narayan@google.com> | 2014-07-23 09:37:12 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-23 04:41:25 +0000 |
commit | 2f60eb711cebfe497302d104dda616fa20393a66 (patch) | |
tree | d05afdeb1316b5a4de4545497f3d18ba6a250378 /harmony-tests/src/test | |
parent | 191aa4cecb1562a1c9951915b1a2d1c7c2db07e5 (diff) | |
parent | 5c0472fd7c53464e526bb833707551d85dbafec1 (diff) | |
download | libcore-2f60eb711cebfe497302d104dda616fa20393a66.zip libcore-2f60eb711cebfe497302d104dda616fa20393a66.tar.gz libcore-2f60eb711cebfe497302d104dda616fa20393a66.tar.bz2 |
Merge "Fix handling of invalid locales in Date/DecimalFormatSymbols."
Diffstat (limited to 'harmony-tests/src/test')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/text/DateFormatSymbolsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/DateFormatSymbolsTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/DateFormatSymbolsTest.java index 9fe3681..70e41a2 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/DateFormatSymbolsTest.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/DateFormatSymbolsTest.java @@ -88,7 +88,7 @@ public class DateFormatSymbolsTest extends junit.framework.TestCase { Locale locale = new Locale("not exist language", "not exist country"); DateFormatSymbols symbols = DateFormatSymbols.getInstance(locale); - assertNotNull(symbols); + assertEquals(DateFormatSymbols.getInstance(Locale.ROOT), symbols); } /** |