Index: tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart b/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
index b5cc3b1c966dda7d202849299cf1f3d10a4118c2..b9936f6db20a4f40bf8f48643cbd2452e5818d03 100644 |
--- a/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_method_rename2_frog_test.dart |
@@ -71,7 +71,7 @@ expectNoSuchMethod(action, note) { |
bool caught = false; |
try { |
action(); |
- } catch (var ex) { |
+ } catch (ex) { |
caught = true; |
Expect.isTrue(ex is NoSuchMethodException, note); |
} |