Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: tests/language_strong/method_override3_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/method_override3_test.dart
diff --git a/tests/language_strong/method_override3_test.dart b/tests/language_strong/method_override3_test.dart
index f4734810f6598e68008a3e9055956ee643529c8d..75005774a6e5cad9d6a922b24c961b8716fbf970 100644
--- a/tests/language_strong/method_override3_test.dart
+++ b/tests/language_strong/method_override3_test.dart
@@ -5,33 +5,38 @@
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;
« no previous file with comments | « tests/language_strong/method_override2_test.dart ('k') | tests/language_strong/missing_const_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698