| Index: tests/corelib/const_list_literal_test.dart
|
| diff --git a/tests/corelib/const_list_literal_test.dart b/tests/corelib/const_list_literal_test.dart
|
| index f2e73dcf5cfffe78a51d631c56f10a301f538e1d..01658a9f75f900729c059a332ca8e5e7ddb3a375 100644
|
| --- a/tests/corelib/const_list_literal_test.dart
|
| +++ b/tests/corelib/const_list_literal_test.dart
|
| @@ -52,12 +52,7 @@ class ConstListLiteralTest {
|
|
|
| exception = null;
|
| try {
|
| - list.copyFrom([1], 0, 0, 1);
|
| - } catch (NoSuchMethodException e) {
|
| - // TODO(ahe): While we are resolving CL 9839101, we have two
|
| - // cases: the VMs implementation class has a method named
|
| - // copyFrom, dart2js does not.
|
| - exception = e;
|
| + list.setRange(0, 1, [1], 0);
|
| } catch (UnsupportedOperationException e) {
|
| exception = e;
|
| }
|
|
|