| Index: tests/lib/mirrors/inference_and_no_such_method_test.dart
|
| ===================================================================
|
| --- tests/lib/mirrors/inference_and_no_such_method_test.dart (revision 27026)
|
| +++ tests/lib/mirrors/inference_and_no_such_method_test.dart (working copy)
|
| @@ -21,5 +21,6 @@
|
|
|
| main() {
|
| Expect.equals(42, new B().foo(0));
|
| - Expect.throws(() => new A().foo('foo'), (e) => e is ArgumentError);
|
| + Expect.throws(() => new A().foo('foo'),
|
| + (e) => e is ArgumentError || e is TypeError);
|
| }
|
|
|