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

Unified Diff: tests/corelib/string_base_vm_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/string_base_vm_test.dart
diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib/string_base_vm_test.dart
index 4215afc98895859a86b5c0a44b378e12959c6cdf..1acf12ea59f4450a0a7b3f88897f9e3e10dab0da 100644
--- a/tests/corelib/string_base_vm_test.dart
+++ b/tests/corelib/string_base_vm_test.dart
@@ -26,7 +26,7 @@ class StringBaseTest {
static testCreation() {
String s = "Hello";
- List<int> a = new List.fixedLength(s.length);
+ List<int> a = new List(s.length);
List<int> ga = new List();
bool exception_caught = false;
for (int i = 0; i < a.length; i++) {

Powered by Google App Engine
This is Rietveld 408576698