Chromium Code Reviews| 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); |
|
Johnni Winther
2013/06/04 09:58:52
Doesn't this change make the test fail?
Lasse Reichstein Nielsen
2013/06/04 10:21:08
The VM already fails this test. I think it just th
|
| 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); |
|
Johnni Winther
2013/06/04 09:58:52
Ditto.
Lasse Reichstein Nielsen
2013/06/04 10:21:08
Ditto too.
|
| } |