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

Unified Diff: tests/language/named_parameters_default_eq_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
« no previous file with comments | « tests/language/named_parameters_aggregated_test.dart ('k') | tests/language/named_parameters_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/named_parameters_default_eq_test.dart
diff --git a/tests/language/named_parameters_default_eq_test.dart b/tests/language/named_parameters_default_eq_test.dart
index bfa3f6a74567cd17c1fc3b67cd5b9623424d7669..cb8bfe9145296fbc8dda33958db7ab47d02114a0 100644
--- a/tests/language/named_parameters_default_eq_test.dart
+++ b/tests/language/named_parameters_default_eq_test.dart
@@ -11,15 +11,15 @@ typedef int F1({x = 3, y}); //# 01: compile-time error
typedef int functype({x, y, z});
-int topF({x = 3, y : 5, z}) => x * y * (z ?? 2);
+int topF({x = 3, y: 5, z}) => x * y * (z ?? 2);
class A {
int x;
int y;
int z;
- A({this.x = 3, this.y : 5, z }) : z = z ?? 2;
- A.redirect({x = 3, y : 5, z}) : this(x: x, y: y, z: z);
- factory A.factory({x = 3, y : 5, z}) => new A(x: x, y: y, z: z ?? 2);
+ A({this.x = 3, this.y: 5, z}) : z = z ?? 2;
+ A.redirect({x = 3, y: 5, z}) : this(x: x, y: y, z: z);
+ factory A.factory({x = 3, y: 5, z}) => new A(x: x, y: y, z: z ?? 2);
factory A.redirectFactory({x, y, z}) = A;
// Default values are not allowed on redirecting factory constructors.
@@ -27,8 +27,8 @@ class A {
int get value => x * y * z;
- static int staticF({x = 3, y : 5, z}) => x * y * (z ?? 2);
- int instanceF({x = 3, y : 5, z}) => x * y * (z ?? 2);
+ static int staticF({x = 3, y: 5, z}) => x * y * (z ?? 2);
+ int instanceF({x = 3, y: 5, z}) => x * y * (z ?? 2);
}
main() {
@@ -37,8 +37,8 @@ main() {
var a = new A();
- int local({x = 3, y : 5, z}) => x * y * (z ?? 2);
- var expr = ({x = 3, y : 5, z}) => x * y * (z ?? 2);
+ int local({x = 3, y: 5, z}) => x * y * (z ?? 2);
+ var expr = ({x = 3, y: 5, z}) => x * y * (z ?? 2);
var tearOff = a.instanceF;
test(function) {
« no previous file with comments | « tests/language/named_parameters_aggregated_test.dart ('k') | tests/language/named_parameters_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698