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

Unified Diff: tests/language_strong/named_parameters_test.dart

Issue 2770063002: Revert "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/named_parameters_test.dart
diff --git a/tests/language_strong/named_parameters_test.dart b/tests/language_strong/named_parameters_test.dart
index 38f6f95d7c9d7f1a75b55675cdfaa2bce2b83cb1..29cc02317d2c739e3c9902a7f16f86888ea7bc7d 100644
--- a/tests/language_strong/named_parameters_test.dart
+++ b/tests/language_strong/named_parameters_test.dart
@@ -5,7 +5,9 @@
import "package:expect/expect.dart";
+
class NamedParametersTest {
+
static int F00() {
return 0;
}
@@ -31,27 +33,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_strong/named_parameters_aggregated_test.dart ('k') | tests/language_strong/named_parameters_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698