| Index: tests/language/function_subtype2_test.dart
|
| diff --git a/tests/language/function_subtype2_test.dart b/tests/language/function_subtype2_test.dart
|
| index 861b4659b009974d052bfe9295b55055d4439b0d..01a15f1cee14c3c5a78ca15be42a90b2814520cc 100644
|
| --- a/tests/language/function_subtype2_test.dart
|
| +++ b/tests/language/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");
|
| }
|
|
|