Index: tests/language/generic_instanceof.dart |
diff --git a/tests/language/generic_instanceof.dart b/tests/language/generic_instanceof.dart |
index 3f64976d6b547f3022e32d9d1f93f028455ca41d..f2225e8fdb93829d0c9df3e9740ac3ad022fcd51 100644 |
--- a/tests/language/generic_instanceof.dart |
+++ b/tests/language/generic_instanceof.dart |
@@ -37,7 +37,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(true, foo.isT(new List<Object>(5))); |
Expect.equals(true, foo.isT(new List<int>(5))); |
Expect.equals(true, foo.isT(new List<num>(5))); |
@@ -45,7 +45,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<List>(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(true, foo.isT(new List<Object>(5))); |
Expect.equals(true, foo.isT(new List<int>(5))); |
Expect.equals(true, foo.isT(new List<num>(5))); |
@@ -53,7 +53,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<List<Object>>(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(true, foo.isT(new List<Object>(5))); |
Expect.equals(true, foo.isT(new List<int>(5))); |
Expect.equals(true, foo.isT(new List<num>(5))); |
@@ -61,7 +61,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<List<int>>(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(false, foo.isT(new List<Object>(5))); |
Expect.equals(true, foo.isT(new List<int>(5))); |
Expect.equals(false, foo.isT(new List<num>(5))); |
@@ -69,7 +69,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<List<num>>(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(false, foo.isT(new List<Object>(5))); |
Expect.equals(true, foo.isT(new List<int>(5))); |
Expect.equals(true, foo.isT(new List<num>(5))); |
@@ -77,7 +77,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<List<String>>(); |
- Expect.equals(true, foo.isT(new List(5))); |
+ Expect.equals(true, foo.isT(new List.fixedLength(5))); |
Expect.equals(false, foo.isT(new List<Object>(5))); |
Expect.equals(false, foo.isT(new List<int>(5))); |
Expect.equals(false, foo.isT(new List<num>(5))); |
@@ -85,7 +85,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo(); |
- Expect.equals(true, foo.isListT(new List(5))); |
+ Expect.equals(true, foo.isListT(new List.fixedLength(5))); |
Expect.equals(true, foo.isListT(new List<Object>(5))); |
Expect.equals(true, foo.isListT(new List<int>(5))); |
Expect.equals(true, foo.isListT(new List<num>(5))); |
@@ -93,7 +93,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<Object>(); |
- Expect.equals(true, foo.isListT(new List(5))); |
+ Expect.equals(true, foo.isListT(new List.fixedLength(5))); |
Expect.equals(true, foo.isListT(new List<Object>(5))); |
Expect.equals(true, foo.isListT(new List<int>(5))); |
Expect.equals(true, foo.isListT(new List<num>(5))); |
@@ -101,7 +101,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<int>(); |
- Expect.equals(true, foo.isListT(new List(5))); |
+ Expect.equals(true, foo.isListT(new List.fixedLength(5))); |
Expect.equals(false, foo.isListT(new List<Object>(5))); |
Expect.equals(true, foo.isListT(new List<int>(5))); |
Expect.equals(false, foo.isListT(new List<num>(5))); |
@@ -109,7 +109,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<num>(); |
- Expect.equals(true, foo.isListT(new List(5))); |
+ Expect.equals(true, foo.isListT(new List.fixedLength(5))); |
Expect.equals(false, foo.isListT(new List<Object>(5))); |
Expect.equals(true, foo.isListT(new List<int>(5))); |
Expect.equals(true, foo.isListT(new List<num>(5))); |
@@ -117,7 +117,7 @@ class GenericInstanceof { |
} |
{ |
Foo foo = new Foo<String>(); |
- Expect.equals(true, foo.isListT(new List(5))); |
+ Expect.equals(true, foo.isListT(new List.fixedLength(5))); |
Expect.equals(false, foo.isListT(new List<Object>(5))); |
Expect.equals(false, foo.isListT(new List<int>(5))); |
Expect.equals(false, foo.isListT(new List<num>(5))); |