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

Unified Diff: tests/language_2/generic_instanceof.dart

Issue 3001803002: Migrate block 114 (and some of 113). (Closed)
Patch Set: Tweak app_jit status. Created 3 years, 4 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
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language_2/generic_instanceof2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_2/generic_instanceof.dart
diff --git a/tests/language/generic_instanceof.dart b/tests/language_2/generic_instanceof.dart
similarity index 93%
rename from tests/language/generic_instanceof.dart
rename to tests/language_2/generic_instanceof.dart
index 7686c853cf02907859aa446841a2f0bdc183f870..9e25e5df3f577e2cfd2527b6404e85a45223c97c 100644
--- a/tests/language/generic_instanceof.dart
+++ b/tests/language_2/generic_instanceof.dart
@@ -64,7 +64,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<List<int>>();
- Expect.equals(true, foo.isT(new List(5)));
+ Expect.equals(false, foo.isT(new List(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)));
@@ -72,7 +72,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<List<num>>();
- Expect.equals(true, foo.isT(new List(5)));
+ Expect.equals(false, foo.isT(new List(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)));
@@ -80,7 +80,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<List<String>>();
- Expect.equals(true, foo.isT(new List(5)));
+ Expect.equals(false, foo.isT(new List(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)));
@@ -104,7 +104,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<int>();
- Expect.equals(true, foo.isListT(new List(5)));
+ Expect.equals(false, foo.isListT(new List(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)));
@@ -112,7 +112,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<num>();
- Expect.equals(true, foo.isListT(new List(5)));
+ Expect.equals(false, foo.isListT(new List(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)));
@@ -120,7 +120,7 @@ class GenericInstanceof {
}
{
Foo foo = new Foo<String>();
- Expect.equals(true, foo.isListT(new List(5)));
+ Expect.equals(false, foo.isListT(new List(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)));
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language_2/generic_instanceof2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698