Index: tests/corelib/list_removeat_test.dart |
diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib/list_removeat_test.dart |
index df7ac16594a75d3465a846f4765536d3e04d9b74..d6a9b28bcef238f8b932799636bf0c49ba76765a 100644 |
--- a/tests/corelib/list_removeat_test.dart |
+++ b/tests/corelib/list_removeat_test.dart |
@@ -42,7 +42,7 @@ void main() { |
Expect.equals(3, l1.length, "length-2"); |
// Fixed size list. |
- var l2 = new List.fixedLength(5); |
+ var l2 = new List(5); |
for (var i = 0; i < 5; i++) l2[i] = i; |
Expect.throws(() { l2.removeAt(2); }, |
(e) => e is UnsupportedError, |