| Index: tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart b/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
|
| index 205d3f9f930b89ed42c6ca77bb75fb38d895bc36..408b7f58b246ccaee45895c64c239cee702edccc 100644
|
| --- a/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_class_inheritance1_test.dart
|
| @@ -90,7 +90,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');
|
|
|
| @@ -100,7 +100,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");
|
| }
|
|
|