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

Unified Diff: tests/corelib/list_test.dart

Issue 11312122: Change List constructors. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Address comments and fix. Created 8 years, 1 month 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
Index: tests/corelib/list_test.dart
diff --git a/tests/corelib/list_test.dart b/tests/corelib/list_test.dart
index 672504f123e1619d68b75ba7f1f7f0b922bfd0cd..e5816c109637da2b6d8822d8bf072edce0310bbe 100644
--- a/tests/corelib/list_test.dart
+++ b/tests/corelib/list_test.dart
@@ -49,7 +49,7 @@ class ListTest {
}
static void testList() {
- List list = new List(4);
+ List list = new List.fixedLength(4);
Expect.equals(list.length, 4);
list[0] = 4;
expectValues(list, 4, null, null, null);

Powered by Google App Engine
This is Rietveld 408576698