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

Unified Diff: tests/language/string_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/language/string_test.dart
diff --git a/tests/language/string_test.dart b/tests/language/string_test.dart
index 546274b226b5bf71f755fab00180a1cea9cf2ee0..bbeb91c38cccf762bc8903c243521ed4bfe3dc2c 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>.fixedLength(2);
+ List<String> a = new List<String>(2);
a[0] = "Hello";
a[1] = "World";
String s = a.join("*^*");

Powered by Google App Engine
This is Rietveld 408576698