Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: tests/isolate/global_error_handler_stream_test.dart

Issue 16154017: Rename RuntimeError to CyclicIntializationError, as per spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad merge in js_helper.dart Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698