diff --git a/pkg/async_helper/lib/async_helper.dart b/pkg/async_helper/lib/async_helper.dart index 72a391f03a0..84df557a811 100644 --- a/pkg/async_helper/lib/async_helper.dart +++ b/pkg/async_helper/lib/async_helper.dart @@ -62,7 +62,7 @@ void asyncEnd() { } } -void asyncTest(Future f()) { +void asyncTest(f()) { asyncStart(); f().whenComplete(() => asyncEnd()); } \ No newline at end of file