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

Unified Diff: tests/corelib/list_removeat_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « tests/corelib/list_last_test.dart ('k') | tests/corelib/list_set_range_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_removeat_test.dart
diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib/list_removeat_test.dart
index d6a9b28bcef238f8b932799636bf0c49ba76765a..df7ac16594a75d3465a846f4765536d3e04d9b74 100644
--- a/tests/corelib/list_removeat_test.dart
+++ b/tests/corelib/list_removeat_test.dart
@@ -42,7 +42,7 @@ void main() {
Expect.equals(3, l1.length, "length-2");
// Fixed size list.
- var l2 = new List(5);
+ var l2 = new List.fixedLength(5);
for (var i = 0; i < 5; i++) l2[i] = i;
Expect.throws(() { l2.removeAt(2); },
(e) => e is UnsupportedError,
« no previous file with comments | « tests/corelib/list_last_test.dart ('k') | tests/corelib/list_set_range_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698