| Index: tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_method_rename1_test.dart b/tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| index 8d451b7fdce1c278ad77757b35325ab2ec871a7f..f8227fee50c27748eb4c7864c1b0ad096e2dc078 100644
|
| --- a/tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| @@ -67,7 +67,7 @@ expectNoSuchMethod(action, note) {
|
| action();
|
| } catch (ex) {
|
| caught = true;
|
| - Expect.isTrue(ex is NoSuchMethodException, note);
|
| + Expect.isTrue(ex is NoSuchMethodError, note);
|
| }
|
| Expect.isTrue(caught, note);
|
| }
|
|
|