Chromium Code Reviews| Index: tests/language/deferred_constraints_type_annotation_old_syntax_test.dart |
| diff --git a/tests/language/deferred_constraints_type_annotation_old_syntax_test.dart b/tests/language/deferred_constraints_type_annotation_old_syntax_test.dart |
| index 6bca41975c3472f9c66ac8e68e8df2522a1c5743..7cc45ce28b2a196f1f653b0e97d33613d8abe94d 100644 |
| --- a/tests/language/deferred_constraints_type_annotation_old_syntax_test.dart |
| +++ b/tests/language/deferred_constraints_type_annotation_old_syntax_test.dart |
| @@ -18,7 +18,7 @@ main() { |
| lib.C a = null; /// type_annotation_null: static type warning |
| Expect.throws(() { /// new_before_load: static type warning |
| lib.C a = new lib.C(); /// new_before_load: continued |
| - }, (e) => e is NoSuchMethodError); /// new_before_load: continued |
| + }, (e) => e is Error); /// new_before_load: continued |
|
floitsch
2014/04/14 12:04:08
can we be more specific?
sigurdm
2014/04/22 11:22:48
Ditto.
|
| // In this case we do not defer C. |
| lib2.C a1 = new lib2.C(); /// type_annotation_non_deferred: continued |