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

Unified Diff: tests/corelib/range_error_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/range_error_test.dart
diff --git a/tests/corelib/range_error_test.dart b/tests/corelib/range_error_test.dart
index 62be0b862e223661f6856287cfe9ae5aed94568e..e83bd30dfb9c453c70e1fe0dc2369c4c4d0b0dfe 100644
--- a/tests/corelib/range_error_test.dart
+++ b/tests/corelib/range_error_test.dart
@@ -14,7 +14,7 @@ class RangeErrorTest {
testListRead(list, -1);
testListRead(list, 1);
- list = new List.fixedLength(1);
+ list = new List(1);
testListRead(list, -1);
testListRead(list, 1);
@@ -33,7 +33,7 @@ class RangeErrorTest {
testListWrite(list, -1);
testListWrite(list, 1);
- list = new List.fixedLength(1);
+ list = new List(1);
testListWrite(list, -1);
testListWrite(list, 1);

Powered by Google App Engine
This is Rietveld 408576698