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

Unified Diff: tests/corelib/collection_contains_test.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 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
Index: tests/corelib/collection_contains_test.dart
diff --git a/tests/corelib/collection_contains_test.dart b/tests/corelib/collection_contains_test.dart
index da96f5d98aad1fdc840c667dbda78797c26458aa..168855babe6ef2192b1fad9c8cf1cd9644a52758 100644
--- a/tests/corelib/collection_contains_test.dart
+++ b/tests/corelib/collection_contains_test.dart
@@ -12,7 +12,7 @@ test(list, notInList) {
}
Expect.isFalse(list.contains(notInList), "!$list.contains($notInList)");
}
- List fixedList = new List.fixedLength(list.length);
+ List fixedList = new List(list.length);
List growList = new List();
for (int i = 0; i < list.length; i++) {
fixedList[i] = list[i];

Powered by Google App Engine
This is Rietveld 408576698