| Index: tests/corelib/list_removeat_test.dart
|
| diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib/list_removeat_test.dart
|
| index 7010678a735d4d012fe461373c72bf373c5ed2f8..465f2f5e01fdc4ac95a6117b4847f3a40ea8a1bb 100644
|
| --- a/tests/corelib/list_removeat_test.dart
|
| +++ b/tests/corelib/list_removeat_test.dart
|
| @@ -45,13 +45,13 @@ void main() {
|
| var l2 = new List(5);
|
| for (var i = 0; i < 5; i++) l2[i] = i;
|
| Expect.throws(() { l2.removeAt(2); },
|
| - (e) => e is UnsupportedOperationException,
|
| + (e) => e is UnsupportedError,
|
| "fixed-length");
|
|
|
| // Unmodifiable list.
|
| var l3 = const [0, 1, 2, 3, 4];
|
| Expect.throws(() { l3.removeAt(2); },
|
| - (e) => e is UnsupportedOperationException,
|
| + (e) => e is UnsupportedError,
|
| "unmodifiable");
|
|
|
| // Empty list is not special.
|
|
|