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

Unified Diff: tests/corelib/range_error_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/list_test.dart ('k') | tests/corelib/set_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/range_error_test.dart
diff --git a/tests/corelib/range_error_test.dart b/tests/corelib/range_error_test.dart
index e83bd30dfb9c453c70e1fe0dc2369c4c4d0b0dfe..62be0b862e223661f6856287cfe9ae5aed94568e 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(1);
+ list = new List.fixedLength(1);
testListRead(list, -1);
testListRead(list, 1);
@@ -33,7 +33,7 @@ class RangeErrorTest {
testListWrite(list, -1);
testListWrite(list, 1);
- list = new List(1);
+ list = new List.fixedLength(1);
testListWrite(list, -1);
testListWrite(list, 1);
« no previous file with comments | « tests/corelib/list_test.dart ('k') | tests/corelib/set_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698