Index: tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
index bd454511137f2fbb27637cedd813f7cb621b4b79..83c44ab2b3411f15d4ca22c82eb44b0ce5a10cb7 100644 |
--- a/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception2_frog_test.dart |
@@ -37,7 +37,7 @@ main() { |
var exception; |
try { |
a.foo(); |
- } catch (NoSuchMethodException e) { |
+ } on NoSuchMethodException catch (e) { |
exception = e; |
} |
Expect.isNotNull(exception); |