| Index: tests/corelib/growable_object_array_vm_test.dart
|
| diff --git a/tests/corelib/growable_object_array_vm_test.dart b/tests/corelib/growable_object_array_vm_test.dart
|
| index 0b5707463b741a380e4e73b931b51319abbaefae..97ec78768e04b77ede73c4a22f9dc476b0c7b9a3 100644
|
| --- a/tests/corelib/growable_object_array_vm_test.dart
|
| +++ b/tests/corelib/growable_object_array_vm_test.dart
|
| @@ -38,7 +38,7 @@ class GrowableObjectArrayTest {
|
| GrowableObjectArray mapped = array.map(testMap);
|
|
|
| Expect.equals(5, mapped.length);
|
| -
|
| +
|
| Expect.equals(3, mapped[0]);
|
| Expect.equals(4, mapped[1]);
|
| Expect.equals(5, mapped[2]);
|
| @@ -46,7 +46,7 @@ class GrowableObjectArrayTest {
|
| Expect.equals(3, mapped[4]);
|
|
|
| Expect.equals(5, array.length);
|
| -
|
| +
|
| Expect.equals(1, array[0]);
|
| Expect.equals(2, array[1]);
|
| Expect.equals(3, array[2]);
|
| @@ -90,11 +90,11 @@ class GrowableObjectArrayTest {
|
| for (int i = 0; i < 10; i++) {
|
| array.add(i);
|
| }
|
| - array.copyFrom(array, 7, 8, 2);
|
| + array.setRange(8, 2, array, 7);
|
| Expect.equals(7, array[7]);
|
| Expect.equals(7, array[8]);
|
| Expect.equals(8, array[9]);
|
| - array.copyFrom(array, 5, 4, 2);
|
| + array.setRange(4, 2, array, 5);
|
| Expect.equals(5, array[4]);
|
| Expect.equals(6, array[5]);
|
| Expect.equals(6, array[6]);
|
|
|