Index: tests/standalone/out_of_memory_test.dart |
diff --git a/tests/standalone/out_of_memory_test.dart b/tests/standalone/out_of_memory_test.dart |
index 016ab2bede31908417ecf64ca17505e8c069188d..1fb36f9b6990ca06f4c8d2b19280c5d59857465e 100644 |
--- a/tests/standalone/out_of_memory_test.dart |
+++ b/tests/standalone/out_of_memory_test.dart |
@@ -6,7 +6,7 @@ void main() { |
var number_of_ints = 134000000; |
var exception_thrown = false; |
try { |
- List<int> buf = new List<int>.fixedLength(number_of_ints); |
+ List<int> buf = new List<int>(number_of_ints); |
} on OutOfMemoryError catch (exc) { |
exception_thrown = true; |
} |