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

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

Powered by Google App Engine
This is Rietveld 408576698