Index: tests/corelib_2/list_removeat_test.dart |
diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib_2/list_removeat_test.dart |
similarity index 87% |
rename from tests/corelib/list_removeat_test.dart |
rename to tests/corelib_2/list_removeat_test.dart |
index 43bf2eb3ce30b9d5c586db1ae9e8a1865ec8c53b..02d39e09326e0273e2fc7920c5264c435998c243 100644 |
--- a/tests/corelib/list_removeat_test.dart |
+++ b/tests/corelib_2/list_removeat_test.dart |
@@ -32,14 +32,6 @@ void testModifiableList(l1) { |
Expect.throws(() { |
l1.removeAt(null); |
}, (e) => e is ArgumentError, "too large"); |
- Expect.throws(() { |
- l1.removeAt("1"); |
- }, (e) => (typeAssertionsEnabled ? e is TypeError : e is ArgumentError), |
- "string"); |
- Expect.throws(() { |
- l1.removeAt(1.5); |
- }, (e) => (typeAssertionsEnabled ? e is TypeError : e is ArgumentError), |
- "double"); |
Bob Nystrom
2017/08/03 20:22:25
Woo!
|
Expect.equals(2, l1.removeAt(2), "l1-remove2"); |
Expect.equals(1, l1[1], "l1-1[1]"); |