Index: tests/lib/async/slow_consumer2_test.dart |
diff --git a/tests/lib/async/slow_consumer2_test.dart b/tests/lib/async/slow_consumer2_test.dart |
index 0c637c0195dc9dc95d145c6451d29fb621be9dc7..a0402563ff6b5eea3bffeebe9a46c968716002f0 100644 |
--- a/tests/lib/async/slow_consumer2_test.dart |
+++ b/tests/lib/async/slow_consumer2_test.dart |
@@ -75,7 +75,7 @@ class DataProvider { |
listSize -= sentCount - targetCount; |
sentCount = targetCount; |
} |
- controller.add(new List.fixedLength(listSize)); |
+ controller.add(new List(listSize)); |
int ms = listSize * 1000 ~/ bytesPerSecond; |
Duration duration = new Duration(milliseconds: ms); |
if (!controller.isPaused) new Timer(duration, send); |