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