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

Unified Diff: tests/language/index_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/index_test.dart
diff --git a/tests/language/index_test.dart b/tests/language/index_test.dart
index 3462e4e8e336e92cdd87909b93f14e67a110ddf6..9e1c634621af55cdf456eac7954f115d741c5964 100644
--- a/tests/language/index_test.dart
+++ b/tests/language/index_test.dart
@@ -18,7 +18,7 @@ class IndexTest {
static const ID_IDLE = 0;
static testMain() {
- var a = new List.fixedLength(10);
+ var a = new List(10);
Expect.equals(10, a.length);
for (int i = 0; i < a.length; i++) {
a[i] = Helper.fibonacci(i);

Powered by Google App Engine
This is Rietveld 408576698