| 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 3be6b567308bb2ac772b97bf913fc7d9bd2be155..8d451b7fdce1c278ad77757b35325ab2ec871a7f 100644
|
| --- a/tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| +++ b/tests/compiler/dart2js_foreign/native_method_rename1_test.dart
|
| @@ -65,7 +65,7 @@ expectNoSuchMethod(action, note) {
|
| bool caught = false;
|
| try {
|
| action();
|
| - } catch (var ex) {
|
| + } catch (ex) {
|
| caught = true;
|
| Expect.isTrue(ex is NoSuchMethodException, note);
|
| }
|
|
|