Index: tests/language_strong/bad_named_parameters_test.dart |
diff --git a/tests/language_strong/bad_named_parameters_test.dart b/tests/language_strong/bad_named_parameters_test.dart |
index 8a24592840e9c72460c83333781c24903150eaa3..c82524ad952d8957b479ec944f0c5fec6140a9a5 100644 |
--- a/tests/language_strong/bad_named_parameters_test.dart |
+++ b/tests/language_strong/bad_named_parameters_test.dart |
@@ -5,13 +5,15 @@ |
import "package:expect/expect.dart"; |
+ |
class BadNamedParametersTest { |
+ |
int f42(int a, {int b: 20, int c: 30}) { |
- return 100 * (100 * a + b) + c; |
+ return 100*(100*a + b) + c; |
} |
int f52(int a, {int b: 20, int c, int d: 40}) { |
- return 100 * (100 * (100 * a + b) + (c == null ? 0 : c)) + d; |
+ return 100*(100*(100*a + b) + (c == null ? 0 : c)) + d; |
} |
static testMain() { |