Index: tests/corelib/strings_test.dart |
diff --git a/tests/corelib/strings_test.dart b/tests/corelib/strings_test.dart |
index 060bbfa0756bc8fcd89a755b0b820f6f0960e6eb..ef1766359f244b9efca07a021ed92805477bec91 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(s.length); |
+ List<int> l = new List.fixedLength(s.length); |
for (int i = 0; i < l.length; i++) { |
l[i] = s.charCodeAt(i); |
} |