diff --git a/packages/flutter_test/lib/flutter_test.dart b/packages/flutter_test/lib/flutter_test.dart index ad6076bb235..d05840d5de6 100644 --- a/packages/flutter_test/lib/flutter_test.dart +++ b/packages/flutter_test/lib/flutter_test.dart @@ -27,7 +27,7 @@ /// with the following signature: /// /// ```dart -/// Future main(FutureOr testMain()); +/// Future testExecutable(FutureOr Function() testMain); /// ``` /// /// The test framework will execute that method and pass it the `main()` method