Index: tests/language/optimization_test.dart |
diff --git a/tests/language/optimization_test.dart b/tests/language/optimization_test.dart |
index 3d1eb49b8345f3e03c573bdccbe5613be680f71c..be41f4f7bb63d7096821385e3d90b93310e5a49d 100644 |
--- a/tests/language/optimization_test.dart |
+++ b/tests/language/optimization_test.dart |
@@ -79,7 +79,7 @@ main() { |
// Deoptimize. |
Expect.equals(-5, doNeg2(5)); |
- var fixed = new List(10); |
+ var fixed = new List.fixedLength(10); |
var growable = [1, 2, 3, 4, 5]; |
for (int i = 0; i < 2000; i++) { |