| Index: tests/corelib/list_removeat_test.dart
|
| diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib/list_removeat_test.dart
|
| index ba7acf2c760ca45da496477ce97c80067ad3babd..7010678a735d4d012fe461373c72bf373c5ed2f8 100644
|
| --- a/tests/corelib/list_removeat_test.dart
|
| +++ b/tests/corelib/list_removeat_test.dart
|
| @@ -17,15 +17,15 @@ void main() {
|
| (e) => e is IndexOutOfRangeException,
|
| "too large");
|
| Expect.throws(() { l1.removeAt(null); },
|
| - (e) => e is IllegalArgumentException,
|
| + (e) => e is ArgumentError,
|
| "too large");
|
| Expect.throws(() { l1.removeAt("1"); },
|
| (e) => (checkedMode ? e is TypeError
|
| - : e is IllegalArgumentException),
|
| + : e is ArgumentError),
|
| "string");
|
| Expect.throws(() { l1.removeAt(1.5); },
|
| (e) => (checkedMode ? e is TypeError
|
| - : e is IllegalArgumentException),
|
| + : e is ArgumentError),
|
| "double");
|
|
|
| Expect.equals(2, l1.removeAt(2), "l1-remove2");
|
|
|