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

Unified Diff: tests/isolate/global_error_handler_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_test.dart
diff --git a/tests/isolate/global_error_handler_test.dart b/tests/isolate/global_error_handler_test.dart
index a4acbac53e6784c3daa783a2f8132323b4bc2358..e3b5de015ce15a93b937c7ba1942123ed433559d 100644
--- a/tests/isolate/global_error_handler_test.dart
+++ b/tests/isolate/global_error_handler_test.dart
@@ -20,7 +20,7 @@ void runFunctions() {
}
void startTest(SendPort finishPort, replyPort) {
- firstFunction = () { throw new RuntimeError("ignore exception"); };
+ firstFunction = () { throw new UnsupportedError("ignore exception"); };
finishFunction = () { finishPort.send("done"); };
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