Index: tests/language/string_test.dart |
diff --git a/tests/language/string_test.dart b/tests/language/string_test.dart |
index f2072ff8a0ebb919f20740ddd75551c984bc61ef..9e843966a44273ee15ed498e2cd3f823b9f92a20 100644 |
--- a/tests/language/string_test.dart |
+++ b/tests/language/string_test.dart |
@@ -21,7 +21,7 @@ class StringTest { |
} |
static testStringsJoin() { |
- List<String> a = new List<String>(2); |
+ List<String> a = new List<String>.fixedLength(2); |
a[0] = "Hello"; |
a[1] = "World"; |
String s = Strings.join(a, "*^*"); |