| Index: tests/isolate/global_error_handler2_test.dart
|
| diff --git a/tests/isolate/global_error_handler2_test.dart b/tests/isolate/global_error_handler2_test.dart
|
| index 72f0d6d5dfb56135ba0a2827ac83bc6ffdcc99fd..c0b1241cc06017eb25d0bfdf4cef09c555be423c 100644
|
| --- a/tests/isolate/global_error_handler2_test.dart
|
| +++ b/tests/isolate/global_error_handler2_test.dart
|
| @@ -15,7 +15,7 @@ runTest() {
|
| if (isFirst) {
|
| mainIsolate = msg;
|
| isFirst = false;
|
| - throw new RuntimeError("ignore exception");
|
| + throw new UnsupportedError("ignore exception");
|
| }
|
| Expect.equals("message 2", msg);
|
| mainIsolate.send("received");
|
| @@ -23,7 +23,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() {
|
|
|