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

Unified Diff: tests/corelib/strings_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/string_slice_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « tests/corelib/string_slice_test.dart ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698