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

Unified Diff: tests/lib/async/run_async4_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/lib/async/run_async4_test.dart
diff --git a/tests/lib/async/run_async4_test.dart b/tests/lib/async/run_async4_test.dart
index 46967dfcf1ec9b15556cd4c3c84e62569eccd2c2..c4a1fc173ea2502c118bee5adc2babe91e639619 100644
--- a/tests/lib/async/run_async4_test.dart
+++ b/tests/lib/async/run_async4_test.dart
@@ -14,7 +14,7 @@ void startTest(SendPort finishPort, replyPort) {
runAsync(() {
invokedCallbacks++;
if (invokedCallbacks == 100) finishPort.send("done");
- if (i == 50) throw new RuntimeError("ignore exception");
+ if (i == 50) throw new UnsupportedError("ignore exception");
});
}
}
@@ -24,7 +24,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