| Index: tests/corelib/list_iterators_test.dart
|
| diff --git a/tests/corelib/list_iterators_test.dart b/tests/corelib/list_iterators_test.dart
|
| index 74875652e5bddebdb8fd8c3e1aaf5d33ee73fadf..6f29061fb0fb28e9535daf5284e6e2c4c975cf45 100644
|
| --- a/tests/corelib/list_iterators_test.dart
|
| +++ b/tests/corelib/list_iterators_test.dart
|
| @@ -14,7 +14,7 @@ class ListIteratorsTest {
|
| bool exceptionCaught = false;
|
| try {
|
| var eleme = it.next();
|
| - } on NoMoreElementsException catch (e) {
|
| + } on StateError catch (e) {
|
| exceptionCaught = true;
|
| }
|
| Expect.equals(true, exceptionCaught);
|
|
|