Index: tests/language/optimized_lists_test.dart |
diff --git a/tests/language/optimized_lists_test.dart b/tests/language/optimized_lists_test.dart |
index cc3b86299a3cdbf651e435c78af869ce9bda19d3..cd2a59648c0302cd136fbd8546322c815848bc51 100644 |
--- a/tests/language/optimized_lists_test.dart |
+++ b/tests/language/optimized_lists_test.dart |
@@ -13,7 +13,7 @@ main() { |
test(n) { |
var a = new List(); // Growable list. |
- var b = new List(10); // Fixed size list. |
+ var b = new List.fixedLength(10); // Fixed size list. |
var c = const [1, 2, 3, 4]; // Constant aray. |
// In optimized mode the class checks will be eliminated since the |
// constructors above provide information about exact types. |