forked from firka/flutter
Enable use_function_type_syntax_for_parameters lint (#77163)
This commit is contained in:
committed by
GitHub
parent
8f9c6af2dd
commit
7b251f5f37
@@ -179,7 +179,7 @@ Matcher containsIgnoringWhitespace(String toSearch) {
|
||||
/// system temporary directory are deleted after each test by calling
|
||||
/// `LocalFileSystem.dispose()`.
|
||||
@isTest
|
||||
void test(String description, FutureOr<void> body(), {
|
||||
void test(String description, FutureOr<void> Function() body, {
|
||||
String testOn,
|
||||
Timeout timeout,
|
||||
dynamic skip,
|
||||
@@ -213,7 +213,7 @@ void test(String description, FutureOr<void> body(), {
|
||||
///
|
||||
/// For more information, see https://github.com/flutter/flutter/issues/47161
|
||||
@isTest
|
||||
void testWithoutContext(String description, FutureOr<void> body(), {
|
||||
void testWithoutContext(String description, FutureOr<void> Function() body, {
|
||||
String testOn,
|
||||
Timeout timeout,
|
||||
dynamic skip,
|
||||
|
||||
@@ -56,7 +56,7 @@ typedef ContextInitializer = void Function(AppContext testContext);
|
||||
@isTest
|
||||
void testUsingContext(
|
||||
String description,
|
||||
dynamic testMethod(), {
|
||||
dynamic Function() testMethod, {
|
||||
Map<Type, Generator> overrides = const <Type, Generator>{},
|
||||
bool initializeFlutterRoot = true,
|
||||
String testOn,
|
||||
|
||||
Reference in New Issue
Block a user