| Index: tests/corelib/string_base_vm_test.dart
|
| diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib/string_base_vm_test.dart
|
| index 87d3a53764578c6f72f4f9614e7af3e74bafde64..be44250b30096eb25643a7e64e838b9d7b0a5292 100644
|
| --- a/tests/corelib/string_base_vm_test.dart
|
| +++ b/tests/corelib/string_base_vm_test.dart
|
| @@ -55,14 +55,14 @@ class StringBaseTest {
|
| bool exception_caught = false;
|
| try {
|
| s.substring(5, 12);
|
| - } on IndexOutOfRangeException catch (ex) {
|
| + } on RangeError catch (ex) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
| exception_caught = false;
|
| try {
|
| s.substring(5, 4);
|
| - } on IndexOutOfRangeException catch (ex) {
|
| + } on RangeError catch (ex) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
|
|