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

Unified Diff: tests/corelib/list_iterators_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/corelib/list_index_of_test.dart ('k') | tests/corelib/list_removeat_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_iterators_test.dart
diff --git a/tests/corelib/list_iterators_test.dart b/tests/corelib/list_iterators_test.dart
index 841924802754523d583ee27cc735c1b198a5209e..0be3cf8e061c3b38a1164ea6dff244aa252a86f2 100644
--- a/tests/corelib/list_iterators_test.dart
+++ b/tests/corelib/list_iterators_test.dart
@@ -17,8 +17,8 @@ class ListIteratorsTest {
static testMain() {
checkListIterator([]);
checkListIterator([1, 2]);
- checkListIterator(new List(0));
- checkListIterator(new List(10));
+ checkListIterator(new List.fixedLength(0));
+ checkListIterator(new List.fixedLength(10));
checkListIterator(new List());
List g = new List();
g.addAll([1, 2, 3]);
« no previous file with comments | « tests/corelib/list_index_of_test.dart ('k') | tests/corelib/list_removeat_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698