Chromium Code Reviews| Index: tests/language/src/NamedParameters10NegativeTest.dart |
| diff --git a/tests/language/src/NamedParameters10NegativeTest.dart b/tests/language/src/NamedParameters10NegativeTest.dart |
| index 34f7aac3c86f4d6889a10f31bec320db8168a44f..c2d801432839a2c21c98d84b55b9888536eb4169 100644 |
| --- a/tests/language/src/NamedParameters10NegativeTest.dart |
| +++ b/tests/language/src/NamedParameters10NegativeTest.dart |
| @@ -13,10 +13,5 @@ int test(int a) { |
| } |
| main() { |
| - try { |
| - test(10, x:99); // 1 positional arg, as expected. Param x does not exist. |
| - } catch (var e) { |
| - // This is a negative test that should not compile. |
| - // If it runs due to a bug, catch and ignore exceptions. |
| - } |
| + test(10, x:99); // 1 positional arg, as expected. Param x does not exist. |
|
zundel
2012/01/23 16:18:21
"Furthermore, each qi, 1 <= i <= l, must be a mem
scheglov
2012/01/23 19:32:27
Done.
|
| } |