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

Unified Diff: tests/corelib/indexed_list_access_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/for_in_test.dart ('k') | tests/corelib/list_fixed_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/indexed_list_access_test.dart
diff --git a/tests/corelib/indexed_list_access_test.dart b/tests/corelib/indexed_list_access_test.dart
index 2feab1e4402b051572c89f97c3f332e4ce6bbb15..791e961131df4264f19583e8b53c46e350bf7d51 100644
--- a/tests/corelib/indexed_list_access_test.dart
+++ b/tests/corelib/indexed_list_access_test.dart
@@ -6,7 +6,7 @@
// is not int.
main() {
- checkList(new List(10));
+ checkList(new List.fixedLength(10));
var growable = new List();
growable.add(1);
growable.add(1);
« no previous file with comments | « tests/corelib/for_in_test.dart ('k') | tests/corelib/list_fixed_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698