Index: tests/corelib/list_growable_test.dart |
diff --git a/tests/corelib/list_growable_test.dart b/tests/corelib/list_growable_test.dart |
index 5066c127fa3133ecaa7627c64b15e005fab4aba4..616b4506259b2666d60567bfe14cc215aa682b35 100644 |
--- a/tests/corelib/list_growable_test.dart |
+++ b/tests/corelib/list_growable_test.dart |
@@ -33,28 +33,4 @@ main() { |
a.clear(); |
Expect.equals(0, a.length); |
Expect.throws(() => a[0], (e) => e is RangeError); |
- |
- a = new List.filled(42, -1); |
- Expect.equals(42, a.length); |
- a.add(499); |
- Expect.equals(43, a.length); |
- Expect.equals(499, a[42]); |
- for (int i = 0; i < 42; i++) { |
- Expect.equals(-1, a[i]); |
- } |
- a.clear(); |
- Expect.equals(0, a.length); |
- Expect.throws(() => a[0], (e) => e is RangeError); |
- |
- a = new List<int>.filled(42, -1); |
- Expect.equals(42, a.length); |
- a.add(499); |
- Expect.equals(43, a.length); |
- Expect.equals(499, a[42]); |
- for (int i = 0; i < 42; i++) { |
- Expect.equals(-1, a[i]); |
- } |
- a.clear(); |
- Expect.equals(0, a.length); |
- Expect.throws(() => a[0], (e) => e is RangeError); |
} |