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

Unified Diff: tests/language_strong/function_subtype2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/function_subtype2_test.dart
diff --git a/tests/language_strong/function_subtype2_test.dart b/tests/language_strong/function_subtype2_test.dart
index 861b4659b009974d052bfe9295b55055d4439b0d..01a15f1cee14c3c5a78ca15be42a90b2814520cc 100644
--- a/tests/language_strong/function_subtype2_test.dart
+++ b/tests/language_strong/function_subtype2_test.dart
@@ -45,8 +45,8 @@ main() {
Expect.isTrue(c1.m4 is T2, "(int,[int,int])->void is (int,[int])->void");
Expect.isFalse(c1.m4 is T3, "(int,[int,int])->void is not ([int,int])->void");
Expect.isTrue(c1.m4 is T4, "(int,[int,int])->void is (int,[int,int])->void");
- Expect.isFalse(c1.m4 is T5,
- "(int,[int,int])->void is not ([int,int,int])->void");
+ Expect.isFalse(
+ c1.m4 is T5, "(int,[int,int])->void is not ([int,int,int])->void");
Expect.isTrue(c1.m5 is T1, "([int,int,int])->void is (int,int)->void");
Expect.isTrue(c1.m5 is T2, "([int,int,int])->void is (int,[int])->void");
@@ -56,51 +56,51 @@ main() {
var c2 = new C<int, double, int>();
Expect.isFalse(c2.m1 is T1, "(int,double)->void is not (int,int)->void");
- Expect.isFalse(c2.m1 is T2,
- "(int,double)->void is not not (int,[int])->void");
+ Expect.isFalse(
+ c2.m1 is T2, "(int,double)->void is not not (int,[int])->void");
Expect.isFalse(c2.m1 is T3, "(int,double)->void is not ([int,int])->void");
- Expect.isFalse(c2.m1 is T4,
- "(int,double)->void is not (int,[int,int])->void");
- Expect.isFalse(c2.m1 is T5,
- "(int,double)->void is not ([int,int,int])->void");
+ Expect.isFalse(
+ c2.m1 is T4, "(int,double)->void is not (int,[int,int])->void");
+ Expect.isFalse(
+ c2.m1 is T5, "(int,double)->void is not ([int,int,int])->void");
Expect.isFalse(c2.m2 is T1, "(int,[double])->void is not (int,int)->void");
Expect.isFalse(c2.m2 is T2, "(int,[double])->void is not (int,[int])->void");
Expect.isFalse(c2.m2 is T3, "(int,[double])->void is not ([int,int])->void");
- Expect.isFalse(c2.m2 is T4,
- "(int,[double])->void is not (int,[int,int])->void");
- Expect.isFalse(c2.m2 is T5,
- "(int,[double])->void is not ([int,int,int])->void");
+ Expect.isFalse(
+ c2.m2 is T4, "(int,[double])->void is not (int,[int,int])->void");
+ Expect.isFalse(
+ c2.m2 is T5, "(int,[double])->void is not ([int,int,int])->void");
Expect.isFalse(c2.m3 is T1, "([int,double])->void is not (int,int)->void");
Expect.isFalse(c2.m3 is T2, "([int,double])->void is not (int,[int])->void");
Expect.isFalse(c2.m3 is T3, "([int,double])->void is not ([int,int])->void");
- Expect.isFalse(c2.m3 is T4,
- "([int,double])->void is not (int,[int,int])->void");
- Expect.isFalse(c2.m3 is T5,
- "([int,double])->void is not ([int,int,int])->void");
-
- Expect.isFalse(c2.m4 is T1,
- "(int,[double,int])->void is not (int,int)->void");
- Expect.isFalse(c2.m4 is T2,
- "(int,[double,int])->void is not (int,[int])->void");
- Expect.isFalse(c2.m4 is T3,
- "(int,[double,int])->void is not ([int,int])->void");
- Expect.isFalse(c2.m4 is T4,
- "(int,[double,int])->void is (int,[int,int])->void");
- Expect.isFalse(c2.m4 is T5,
- "(int,[double,int])->void is ([int,int,int])->void");
-
- Expect.isFalse(c2.m5 is T1,
- "([int,double,int])->void is not (int,int)->void");
- Expect.isFalse(c2.m5 is T2,
- "([int,double,int])->void is not (int,[int])->void");
- Expect.isFalse(c2.m5 is T3,
- "([int,double,int])->void is not ([int,int])->void");
- Expect.isFalse(c2.m5 is T4,
- "([int,double,int])->void is (int,[int,int])->void");
- Expect.isFalse(c2.m5 is T5,
- "([int,double,int])->void is ([int,int,int])->void");
+ Expect.isFalse(
+ c2.m3 is T4, "([int,double])->void is not (int,[int,int])->void");
+ Expect.isFalse(
+ c2.m3 is T5, "([int,double])->void is not ([int,int,int])->void");
+
+ Expect.isFalse(
+ c2.m4 is T1, "(int,[double,int])->void is not (int,int)->void");
+ Expect.isFalse(
+ c2.m4 is T2, "(int,[double,int])->void is not (int,[int])->void");
+ Expect.isFalse(
+ c2.m4 is T3, "(int,[double,int])->void is not ([int,int])->void");
+ Expect.isFalse(
+ c2.m4 is T4, "(int,[double,int])->void is (int,[int,int])->void");
+ Expect.isFalse(
+ c2.m4 is T5, "(int,[double,int])->void is ([int,int,int])->void");
+
+ Expect.isFalse(
+ c2.m5 is T1, "([int,double,int])->void is not (int,int)->void");
+ Expect.isFalse(
+ c2.m5 is T2, "([int,double,int])->void is not (int,[int])->void");
+ Expect.isFalse(
+ c2.m5 is T3, "([int,double,int])->void is not ([int,int])->void");
+ Expect.isFalse(
+ c2.m5 is T4, "([int,double,int])->void is (int,[int,int])->void");
+ Expect.isFalse(
+ c2.m5 is T5, "([int,double,int])->void is ([int,int,int])->void");
var c3 = new C<int, int, double>();
Expect.isTrue(c3.m1 is T1, "(int,int)->void is (int,int)->void");
@@ -123,18 +123,18 @@ main() {
Expect.isTrue(c3.m4 is T1, "(int,[int,double])->void is (int,int)->void");
Expect.isTrue(c3.m4 is T2, "(int,[int,double])->void is (int,[int])->void");
- Expect.isFalse(c3.m4 is T3,
- "(int,[int,double])->void is not ([int,int])->void");
- Expect.isFalse(c3.m4 is T4,
- "(int,[int,double])->void is (int,[int,int])->void");
- Expect.isFalse(c3.m4 is T5,
- "(int,[int,double])->void is ([int,int,int])->void");
+ Expect.isFalse(
+ c3.m4 is T3, "(int,[int,double])->void is not ([int,int])->void");
+ Expect.isFalse(
+ c3.m4 is T4, "(int,[int,double])->void is (int,[int,int])->void");
+ Expect.isFalse(
+ c3.m4 is T5, "(int,[int,double])->void is ([int,int,int])->void");
Expect.isTrue(c3.m5 is T1, "([int,int,double])->void is (int,int)->void");
Expect.isTrue(c3.m5 is T2, "([int,int,double])->void is (int,[int])->void");
Expect.isTrue(c3.m5 is T3, "([int,int,double])->void is ([int,int])->void");
- Expect.isFalse(c3.m5 is T4,
- "([int,int,double])->void is (int,[int,int])->void");
- Expect.isFalse(c3.m5 is T5,
- "([int,int,double])->void is ([int,int,int])->void");
+ Expect.isFalse(
+ c3.m5 is T4, "([int,int,double])->void is (int,[int,int])->void");
+ Expect.isFalse(
+ c3.m5 is T5, "([int,int,double])->void is ([int,int,int])->void");
}

Powered by Google App Engine
This is Rietveld 408576698