| Index: tests/compiler/dart2js_foreign/native_method_rename3_test.dart
|
| diff --git a/tests/compiler/dart2js_foreign/native_method_rename3_test.dart b/tests/compiler/dart2js_foreign/native_method_rename3_test.dart
|
| index b576a7f0e02e8eddc3db801faad9580ceb848441..d0634e8c91f478ad97a8befcef7b27425a48df6e 100644
|
| --- a/tests/compiler/dart2js_foreign/native_method_rename3_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_method_rename3_test.dart
|
| @@ -90,7 +90,7 @@ expectNoSuchMethod(action, note) {
|
| bool caught = false;
|
| try {
|
| action();
|
| - } catch (NoSuchMethodException ex) {
|
| + } on NoSuchMethodException catch (ex) {
|
| caught = true;
|
| Expect.isTrue(ex is NoSuchMethodException, note);
|
| }
|
|
|