| Index: tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
|
| index 5cd580b6a6c08c952d93fdae6e65c8470e4a5c6d..07a8ff1cd5ef3ee23e04807cda83ff321449c52f 100644
|
| --- a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
|
| @@ -85,7 +85,7 @@ main() {
|
| a1.foo(20);
|
| } catch (ex) {
|
| caught = true;
|
| - Expect.isTrue(ex is NoSuchMethodException);
|
| + Expect.isTrue(ex is NoSuchMethodError);
|
| }
|
| Expect.isTrue(caught, 'a1.foo(20) should throw');
|
|
|
| @@ -95,7 +95,7 @@ main() {
|
| x.foo(20);
|
| } catch (ex) {
|
| caught = true;
|
| - Expect.isTrue(ex is NoSuchMethodException);
|
| + Expect.isTrue(ex is NoSuchMethodError);
|
| }
|
| Expect.isTrue(caught, "x.foo(20) should throw");
|
| }
|
|
|