Index: tests/language/method_override3_test.dart |
diff --git a/tests/language/method_override3_test.dart b/tests/language/method_override3_test.dart |
index 75005774a6e5cad9d6a922b24c961b8716fbf970..f4734810f6598e68008a3e9055956ee643529c8d 100644 |
--- a/tests/language/method_override3_test.dart |
+++ b/tests/language/method_override3_test.dart |
@@ -5,38 +5,33 @@ |
import 'package:expect/expect.dart'; |
class A { |
- foo(required1, {named1: 499}) => -(required1 + named1 * 3); |
- bar(required1, required2, {named1: 13, named2: 17}) => |
- -(required1 + required2 * 3 + named1 * 5 + named2 * 7); |
+ foo(required1, { named1: 499}) => -(required1 + named1 * 3); |
+ bar(required1, required2, { named1: 13, named2: 17}) |
+ => -(required1 + required2 * 3 + named1 * 5 + named2 * 7); |
gee({named1: 31}) => -named1; |
} |
class B extends A { |
- foo( |
- required1 |
+ foo(required1 |
/* // //# 00: static type warning |
- , |
- {named1: 499} |
+ , { named1: 499 } |
*/ // //# 00: static type warning |
- ) { |
+ ) { |
return required1; |
} |
bar(required1, required2, |
- {named1: 13 |
+ { named1: 13 |
/* // //# 01: static type warning |
- , |
- named2: 17 |
+ , named2: 17 |
*/ // //# 01: static type warning |
}) { |
return required1 + required2 * 3 + named1 * 5; |
} |
- gee( |
- {named2: 11 |
+ gee({named2: 11 |
/* // //# 02: static type warning |
- , |
- named1: 31 |
+ , named1: 31 |
*/ // //# 02: static type warning |
}) { |
return named2 * 99; |