| Index: tests/corelib/string_test.dart
|
| diff --git a/tests/corelib/string_test.dart b/tests/corelib/string_test.dart
|
| index 94864f885bbdec3e99c9bf4fa8a1bc41e6895539..786a9cfdd2f349ddad18eeb0c29d54a9b36c2dfc 100644
|
| --- a/tests/corelib/string_test.dart
|
| +++ b/tests/corelib/string_test.dart
|
| @@ -40,7 +40,7 @@ class StringTest {
|
| try {
|
| var c = a[2.2]; // Throw exception.
|
| Expect.equals(true, false);
|
| - } on IllegalArgumentException catch (e) {
|
| + } on ArgumentError catch (e) {
|
| exception_caught = true;
|
| } on TypeError catch (e) { // Thrown in checked mode only.
|
| exception_caught = true;
|
|
|