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 ef079d02fffa315218a004cff19ba0934226396a..f34958954f48124558bbac1e39aa1923be84ef75 100644 |
--- a/tests/isolate/global_error_handler_stream2_test.dart |
+++ b/tests/isolate/global_error_handler_stream2_test.dart |
@@ -21,9 +21,6 @@ runTest() { |
bool globalErrorHandler(IsolateUnhandledException e) { |
var source = e.source; |
- if (source is AsyncError) { |
- source = source.error; |
- } |
return source is RuntimeError && source.message == "ignore exception"; |
} |