Index: tests/language/named_parameters2_test.dart |
=================================================================== |
--- tests/language/named_parameters2_test.dart (revision 13204) |
+++ tests/language/named_parameters2_test.dart (working copy) |
@@ -13,7 +13,7 @@ |
try { |
// Parameter b passed twice, as positional and named. |
test(10, 25, b: 26); /// static type warning |
- } on Exception catch (e) { |
+ } on NoSuchMethodError catch (e) { |
foundError = true; |
} |
Expect.equals(true, foundError); |