| Index: tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_missing_method2_test.dart b/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| index bc3d3049bb1bc9417dda23a9993ff4f4b8616ff8..eaeb9df9a4fb32b6e6febed322cf4bf0976db559 100644
|
| --- a/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| @@ -29,22 +29,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() {
|
|
|