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

Unified Diff: tests/language/const_list_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/language/const_list_test.dart
diff --git a/tests/language/const_list_test.dart b/tests/language/const_list_test.dart
index 4422efb917521862f27d0a5b99bfcb1e45125952..e05f7a779bf56cf4e284fb9405634d5bd59b01fc 100644
--- a/tests/language/const_list_test.dart
+++ b/tests/language/const_list_test.dart
@@ -5,8 +5,8 @@
class ConstListTest {
static testMain() {
- List fixedList = new List.fixedLength(4);
- List fixedList2 = new List.fixedLength(4);
+ List fixedList = new List(4);
+ List fixedList2 = new List(4);
List growableList = new List();
List growableList2 = new List();
for (int i = 0; i < 4; i++) {

Powered by Google App Engine
This is Rietveld 408576698