Merge "Remove LocaleListTest#testRepeatedArguments" into oreo-cts-dev
diff --git a/tests/tests/os/src/android/os/cts/LocaleListTest.java b/tests/tests/os/src/android/os/cts/LocaleListTest.java
index bc30e5c..93c81f4 100644
--- a/tests/tests/os/src/android/os/cts/LocaleListTest.java
+++ b/tests/tests/os/src/android/os/cts/LocaleListTest.java
@@ -88,17 +88,6 @@
}
}
- public void testRepeatedArguments() {
- final Locale[] la = {Locale.US, Locale.US};
- LocaleList ll = null;
- try {
- ll = new LocaleList(la);
- fail("Initializing a LocaleList with an array containing duplicates should throw.");
- } catch (Throwable e) {
- assertEquals(IllegalArgumentException.class, e.getClass());
- }
- }
-
public void testIndexOf() {
final LocaleList empty = new LocaleList();
assertEquals(-1, empty.indexOf(Locale.US));