| Index: packages/async/test/future_group_test.dart
|
| diff --git a/packages/async/test/future_group_test.dart b/packages/async/test/future_group_test.dart
|
| index 09ea29a0abd0a364fce633b92c92c9d6dc5835de..af04799b328ba0705b2e7bf7d3c3d63adc415a80 100644
|
| --- a/packages/async/test/future_group_test.dart
|
| +++ b/packages/async/test/future_group_test.dart
|
| @@ -187,16 +187,16 @@ void main() {
|
| var onIdleDone = false;
|
| var futureFired = false;
|
|
|
| - futureGroup.onIdle.listen(expectAsync((_) {
|
| + futureGroup.onIdle.listen(expectAsync1((_) {
|
| expect(futureFired, isFalse);
|
| idle = true;
|
| - }), onDone: expectAsync(() {
|
| + }), onDone: expectAsync0(() {
|
| expect(idle, isTrue);
|
| expect(futureFired, isFalse);
|
| onIdleDone = true;
|
| }));
|
|
|
| - futureGroup.future.then(expectAsync((_) {
|
| + futureGroup.future.then(expectAsync1((_) {
|
| expect(idle, isTrue);
|
| expect(onIdleDone, isTrue);
|
| futureFired = true;
|
|
|