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

Unified Diff: tests/language/lazy_static3_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/language/lazy_static3_test.dart
diff --git a/tests/language/lazy_static3_test.dart b/tests/language/lazy_static3_test.dart
index 76186f6e75b089c1697f60a1741e9cc43dcb36bd..ee412e1baa038a28edf4cecb7973e152bae642e7 100644
--- a/tests/language/lazy_static3_test.dart
+++ b/tests/language/lazy_static3_test.dart
@@ -45,7 +45,7 @@ main() {
Expect.throws(() => fib(x2), (e) => e == "interrupt initialization");
Expect.equals(499, x2);
- Expect.throws(() => fib(x3), (e) => e is RuntimeError);
+ Expect.throws(() => fib(x3), (e) => e is CyclicInitializationError);
Expect.equals(null, x3);
Expect.equals(499, x4);
@@ -54,5 +54,5 @@ main() {
Expect.equals(499, x6);
- Expect.throws(() => fib(x7), (e) => e is RuntimeError);
+ Expect.throws(() => fib(x7), (e) => e is CyclicInitializationError);
}

Powered by Google App Engine
This is Rietveld 408576698