| Index: tests/compiler/dart2js_native/native_missing_method2_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_missing_method2_frog_test.dart b/tests/compiler/dart2js_native/native_missing_method2_frog_test.dart
|
| index 6e5860aef052c14aa150e97768668f4caa8edcd2..89b51ddb8084d9f26d03cb430f7f2718a16de162 100644
|
| --- a/tests/compiler/dart2js_native/native_missing_method2_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_missing_method2_frog_test.dart
|
| @@ -27,22 +27,22 @@ typedContext() {
|
| var things = [ makeA(), new B() ];
|
| A a = things[0];
|
| Expect.throws(() => a.foo(),
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| Expect.throws(() => a.foo,
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| Expect.throws(() => a.foo = 4,
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| }
|
|
|
| untypedContext() {
|
| var things = [ makeA(), new B() ];
|
| var a = things[0];
|
| Expect.throws(() => a.foo(),
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| Expect.throws(() => a.foo,
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| Expect.throws(() => a.foo = 4,
|
| - (e) => e is NoSuchMethodException);
|
| + (e) => e is NoSuchMethodError);
|
| }
|
|
|
| main() {
|
|
|