| Index: tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_method_rename2_test.dart b/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| index 37f9059372ec644f32c11ddbf915ee0914232852..8c761f6d771e46f5f27a0464aef4bcf85dd87142 100644
|
| --- a/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| @@ -78,7 +78,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);
|
| }
|
|
|