Index: tests/corelib/growable_object_array2_vm_test.dart |
diff --git a/tests/corelib/growable_object_array2_vm_test.dart b/tests/corelib/growable_object_array2_vm_test.dart |
index 875332ee518395430c47ef72f40683e3b1c31a63..5c8af1422bb498781107e2ec9f256730f0b11885 100644 |
--- a/tests/corelib/growable_object_array2_vm_test.dart |
+++ b/tests/corelib/growable_object_array2_vm_test.dart |
@@ -29,11 +29,11 @@ class GrowableObjectArray2Test { |
f.add(2); |
list[i] = 5; |
} |
- list.copyFrom(f, 0, 0, f.length); |
+ list.setRange(0, f.length, f, 0); |
for (int i = 0; i < f.length; i++) { |
Expect.equals(2, list[i]); |
} |
- f.copyFrom(g, 10, 0, 2); |
+ f.setRange(0, 2, g, 10); |
Expect.equals(20, f.length); |
bool exceptionCaught = false; |