| Index: tests/corelib/list_fixed_test.dart
|
| diff --git a/tests/corelib/list_fixed_test.dart b/tests/corelib/list_fixed_test.dart
|
| index b6d74402ec60542630d1026bb6b3bd04aa668da8..c29d8eaf7e53a624a11378a0b7e8fa423a810a77 100644
|
| --- a/tests/corelib/list_fixed_test.dart
|
| +++ b/tests/corelib/list_fixed_test.dart
|
| @@ -5,7 +5,7 @@
|
| main() {
|
| var a;
|
|
|
| - a = new List.fixedLength(42);
|
| + a = new List(42);
|
| Expect.equals(42, a.length);
|
| Expect.throws(() => a.add(499), (e) => e is UnsupportedError);
|
| Expect.equals(42, a.length);
|
| @@ -15,7 +15,7 @@ main() {
|
| Expect.throws(() => a.clear(), (e) => e is UnsupportedError);
|
| Expect.equals(42, a.length);
|
|
|
| - a = new List.fixedLength(42, fill: -2);
|
| + a = new List.filled(42, -2);
|
| Expect.equals(42, a.length);
|
| Expect.throws(() => a.add(499), (e) => e is UnsupportedError);
|
| Expect.equals(42, a.length);
|
|
|