Index: tests/corelib/range_error_test.dart |
diff --git a/tests/corelib/range_error_test.dart b/tests/corelib/range_error_test.dart |
index 62be0b862e223661f6856287cfe9ae5aed94568e..e83bd30dfb9c453c70e1fe0dc2369c4c4d0b0dfe 100644 |
--- a/tests/corelib/range_error_test.dart |
+++ b/tests/corelib/range_error_test.dart |
@@ -14,7 +14,7 @@ class RangeErrorTest { |
testListRead(list, -1); |
testListRead(list, 1); |
- list = new List.fixedLength(1); |
+ list = new List(1); |
testListRead(list, -1); |
testListRead(list, 1); |
@@ -33,7 +33,7 @@ class RangeErrorTest { |
testListWrite(list, -1); |
testListWrite(list, 1); |
- list = new List.fixedLength(1); |
+ list = new List(1); |
testListWrite(list, -1); |
testListWrite(list, 1); |