Index: tests/language/named_parameters2_test.dart |
diff --git a/tests/language/named_parameters2_test.dart b/tests/language/named_parameters2_test.dart |
index 51b339c105e479e649835ec02eee5417a832e42d..1a8c18e3f640741b707519a5869f48622a21d6c5 100644 |
--- a/tests/language/named_parameters2_test.dart |
+++ b/tests/language/named_parameters2_test.dart |
@@ -13,7 +13,7 @@ main() { |
try { |
// Parameter b passed twice, as positional and named. |
test(10, 25, b: 26); /// static type warning |
- } catch (Exception e) { |
+ } on Exception catch (e) { |
foundError = true; |
} |
Expect.equals(true, foundError); |