| Index: tests/isolate/global_error_handler_stream2_test.dart
|
| diff --git a/tests/isolate/global_error_handler_stream2_test.dart b/tests/isolate/global_error_handler_stream2_test.dart
|
| index f34958954f48124558bbac1e39aa1923be84ef75..b1093f5ded8d40662af0b6122f97524b4f69d1e4 100644
|
| --- a/tests/isolate/global_error_handler_stream2_test.dart
|
| +++ b/tests/isolate/global_error_handler_stream2_test.dart
|
| @@ -12,7 +12,7 @@ runTest() {
|
| IsolateSink mainIsolate;
|
| stream.listen((msg) {
|
| mainIsolate = msg;
|
| - throw new RuntimeError("ignore exception");
|
| + throw new UnsupportedError("ignore exception");
|
| }, onDone: () {
|
| mainIsolate.add("received done");
|
| mainIsolate.close();
|
| @@ -21,7 +21,7 @@ runTest() {
|
|
|
| bool globalErrorHandler(IsolateUnhandledException e) {
|
| var source = e.source;
|
| - return source is RuntimeError && source.message == "ignore exception";
|
| + return source is UnsupportedError && source.message == "ignore exception";
|
| }
|
|
|
| main() {
|
|
|