| Index: tests/isolate/global_error_handler_stream_test.dart
|
| diff --git a/tests/isolate/global_error_handler_stream_test.dart b/tests/isolate/global_error_handler_stream_test.dart
|
| index 4fcd8bf043a94a5a72e76009a3900c3f35e2e85b..c792fc5cb1b2ee1fc7c27f7f40344ca8a7a8c487 100644
|
| --- a/tests/isolate/global_error_handler_stream_test.dart
|
| +++ b/tests/isolate/global_error_handler_stream_test.dart
|
| @@ -20,7 +20,7 @@ void runFunctions() {
|
| }
|
|
|
| void startTest(EventSink finishSink) {
|
| - firstFunction = () { throw new RuntimeError("ignore exception"); };
|
| + firstFunction = () { throw new UnsupportedError("ignore exception"); };
|
| finishFunction = () { finishSink.add("done"); finishSink.close(); };
|
| new Timer(Duration.ZERO, runFunctions);
|
| }
|
| @@ -30,7 +30,7 @@ runTest() {
|
| }
|
|
|
| bool globalErrorHandler(IsolateUnhandledException e) {
|
| - return e.source is RuntimeError && e.source.message == "ignore exception";
|
| + return e.source is UnsupportedError && e.source.message == "ignore exception";
|
| }
|
|
|
| main() {
|
|
|