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

Unified Diff: tests/corelib/strings_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/strings_test.dart
diff --git a/tests/corelib/strings_test.dart b/tests/corelib/strings_test.dart
index 49d5cb5ff2c26a3a5b8baa98bade382e96062957..16630f274bd0289582ff04511afd9e76a327af00 100644
--- a/tests/corelib/strings_test.dart
+++ b/tests/corelib/strings_test.dart
@@ -13,7 +13,7 @@ class StringsTest {
}
static testCreation() {
String s = "Hello";
- List<int> l = new List.fixedLength(s.length);
+ List<int> l = new List(s.length);
for (int i = 0; i < l.length; i++) {
l[i] = s.codeUnitAt(i);
}

Powered by Google App Engine
This is Rietveld 408576698