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

Unified Diff: tests/language/named_parameters_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/named_parameters_test.dart
diff --git a/tests/language/named_parameters_test.dart b/tests/language/named_parameters_test.dart
index 29cc02317d2c739e3c9902a7f16f86888ea7bc7d..38f6f95d7c9d7f1a75b55675cdfaa2bce2b83cb1 100644
--- a/tests/language/named_parameters_test.dart
+++ b/tests/language/named_parameters_test.dart
@@ -5,9 +5,7 @@
import "package:expect/expect.dart";
-
class NamedParametersTest {
-
static int F00() {
return 0;
}
@@ -33,27 +31,27 @@ class NamedParametersTest {
}
static int F21(int a, [int b = 20]) {
- return 100*a + b;
+ return 100 * a + b;
}
int f32(int a, [int b = 20]) {
- return 100*a + b;
+ return 100 * a + b;
}
static int F31(int a, [int b = 20, int c = 30]) {
- return 100*(100*a + b) + c;
+ return 100 * (100 * a + b) + c;
}
int f42(int a, [int b = 20, int c = 30]) {
- return 100*(100*a + b) + c;
+ return 100 * (100 * a + b) + c;
}
static int F41(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;
}
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() {
« no previous file with comments | « tests/language/named_parameters_default_eq_test.dart ('k') | tests/language/named_parameters_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698