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

Unified Diff: tests/isolate/global_error_handler_stream2_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, 7 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_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() {

Powered by Google App Engine
This is Rietveld 408576698