Index: tests/corelib/sort_helper.dart |
diff --git a/tests/corelib/sort_helper.dart b/tests/corelib/sort_helper.dart |
index 85d0bee56416af975cc32bbe105981a62f1888cd..e37809746b670686e4031aa7f16ac078471d8748 100644 |
--- a/tests/corelib/sort_helper.dart |
+++ b/tests/corelib/sort_helper.dart |
@@ -23,7 +23,7 @@ class SortHelper { |
} |
void testSortIntLists() { |
- List a = new List.fixedLength(40); |
+ List a = new List(40); |
for (int i = 0; i < a.length; i++) { |
a[i] = i; |
@@ -79,10 +79,10 @@ class SortHelper { |
a[33] = 1; |
testSort(a); |
- var a2 = new List.fixedLength(0); |
+ var a2 = new List(0); |
testSort(a2); |
- var a3 = new List.fixedLength(1); |
+ var a3 = new List(1); |
a3[0] = 1; |
testSort(a3); |
@@ -120,7 +120,7 @@ class SortHelper { |
} |
void testInsertionSort(int i1, int i2, int i3, int i4) { |
- var a = new List.fixedLength(4); |
+ var a = new List(4); |
a[0] = i1; |
a[1] = i2; |
a[2] = i3; |
@@ -129,7 +129,7 @@ class SortHelper { |
} |
void testSortDoubleLists() { |
- List a = new List.fixedLength(40); |
+ List a = new List(40); |
for (int i = 0; i < a.length; i++) { |
a[i] = 1.0 * i + 0.5; |
} |