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

Unified Diff: tests/language/instanceof2_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/inst_field_initializer1_negative_test.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/instanceof2_test.dart
diff --git a/tests/language/instanceof2_test.dart b/tests/language/instanceof2_test.dart
index f93c0b39002bb016963f95455da1e6a024b4cc5e..0655b8663978ea48ac90835ae5063734ff8681ba 100644
--- a/tests/language/instanceof2_test.dart
+++ b/tests/language/instanceof2_test.dart
@@ -54,7 +54,7 @@ class InstanceofTest {
Expect.equals(false, null is I);
{
- var a = new List(5);
+ var a = new List.fixedLength(5);
Expect.equals(true, a is List);
Expect.equals(true, a is List<Object>);
Expect.equals(true, a is List<int>);
@@ -62,7 +62,7 @@ class InstanceofTest {
Expect.equals(true, a is List<String>);
}
{
- var a = new List<Object>(5);
+ var a = new List<Object>.fixedLength(5);
Expect.equals(true, a is List);
Expect.equals(true, a is List<Object>);
Expect.equals(false, a is List<int>);
@@ -70,7 +70,7 @@ class InstanceofTest {
Expect.equals(false, a is List<String>);
}
{
- var a = new List<int>(5);
+ var a = new List<int>.fixedLength(5);
Expect.equals(true, a is List);
Expect.equals(true, a is List<Object>);
Expect.equals(true, a is List<int>);
@@ -78,7 +78,7 @@ class InstanceofTest {
Expect.equals(false, a is List<String>);
}
{
- var a = new List<num>(5);
+ var a = new List<num>.fixedLength(5);
Expect.equals(true, a is List);
Expect.equals(true, a is List<Object>);
Expect.equals(false, a is List<int>);
@@ -86,7 +86,7 @@ class InstanceofTest {
Expect.equals(false, a is List<String>);
}
{
- var a = new List<String>(5);
+ var a = new List<String>.fixedLength(5);
Expect.equals(true, a is List);
Expect.equals(true, a is List<Object>);
Expect.equals(false, a is List<int>);
« no previous file with comments | « tests/language/inst_field_initializer1_negative_test.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698