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); |
} |