Chromium Code Reviews| Index: tests/language/named_parameters4_test.dart | 
| =================================================================== | 
| --- tests/language/named_parameters4_test.dart (revision 13204) | 
| +++ tests/language/named_parameters4_test.dart (working copy) | 
| @@ -17,7 +17,7 @@ | 
| bool foundError = false; | 
| try { | 
| test(10, x:99); // 1 positional arg, as expected. Param x does not exist. | 
| - } on Exception catch (e) { | 
| + } on NoSuchMethodError catch (e) { | 
| foundError = true; | 
| } | 
| Expect.equals(true, foundError); |