Index: tests/lib/async/slow_consumer_test.dart |
diff --git a/tests/lib/async/slow_consumer_test.dart b/tests/lib/async/slow_consumer_test.dart |
index 2d4065876b894bd099938a4ff095d1a85c552cef..9bc05bfe0b38984df8485199c2c195bedb7a755a 100644 |
--- a/tests/lib/async/slow_consumer_test.dart |
+++ b/tests/lib/async/slow_consumer_test.dart |
@@ -77,7 +77,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) { |