Chromium Code Reviews| Index: tests/language/naming_test.dart |
| =================================================================== |
| --- tests/language/naming_test.dart (revision 11803) |
| +++ tests/language/naming_test.dart (working copy) |
| @@ -510,7 +510,9 @@ |
| static void main(args) { |
| var a = new Naming2Test(); |
| - Expect.throws(() => a.foo(2), (e) => e is ObjectNotClosureException); |
| + Expect.throws( |
| + () => a.foo(2), |
| + (e) => e is ObjectNotClosureException || e is NoSuchMethodException); |
|
kasperl
2012/09/04 12:06:18
Maybe add a comment that explains why both of thes
ngeoffray
2012/09/04 12:16:20
Done.
|
| } |
| } |