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

Unified Diff: tests/language/instanceof2_test.dart

Issue 11312122: Change List constructors. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload. Adapt code for List.fixedLength. Created 8 years 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/list_test.dart » ('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 ea81cd79c1828abd29a5d5bcc2283f90f5e3eca0..f8d0f8a5d765f93a22997d4e19eee57936637d8a 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>);
« no previous file with comments | « tests/language/inst_field_initializer1_negative_test.dart ('k') | tests/language/list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698