| Index: tests/isolate/timer_not_available_test.dart
|
| diff --git a/tests/isolate/timer_not_available_test.dart b/tests/isolate/timer_not_available_test.dart
|
| index 82c9103edbc7161a55f21c8bcf87dcb02d66893a..1226bb1c77947be652d848a272f9d2c4357909eb 100644
|
| --- a/tests/isolate/timer_not_available_test.dart
|
| +++ b/tests/isolate/timer_not_available_test.dart
|
| @@ -10,7 +10,7 @@ main() {
|
| bool failed = false;
|
| try {
|
| new Timer(0, (_) { });
|
| - } on UnsupportedOperationException catch (e) {
|
| + } on StateError catch (e) {
|
| failed = true;
|
| }
|
| Expect.isTrue(failed);
|
| @@ -18,7 +18,7 @@ main() {
|
| try {
|
| var t = new Timer.repeating(10, (_) { });
|
| t.cancel();
|
| - } on UnsupportedOperationException catch (e) {
|
| + } on StateError catch (e) {
|
| failed = true;
|
| }
|
| Expect.isTrue(failed);
|
|
|