Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj committed Jul 5, 2020
1 parent 14cb34f commit 72edb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ffibonacci_chunked_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int _fibonacci(int n) {
/// `4181` then it returns `4181` sized chunks until end of [data].
///
/// This ensures that various chunks sizes are exercised in tests.
Stream<List<T>> fibonacciChunkedStream<T>(List<T> data) async* {
Stream<List<T>> fibonacciChunkedStream<T>(Iterable<T> data) async* {
var i = 0;
while (data.isNotEmpty) {
final n = _fibonacci(i++);
Expand Down

0 comments on commit 72edb41

Please sign in to comment.