indent formal parameters correctly (#41644)
This commit is contained in:
committed by
GitHub
parent
dc03c44321
commit
890b939401
@@ -192,12 +192,12 @@ class MockProcessManager extends Mock implements ProcessManager {
|
||||
/// a given number of times before succeeding. The returned processes will
|
||||
/// fail after a delay if one is supplied.
|
||||
ProcessFactory flakyProcessFactory({
|
||||
int flakes,
|
||||
bool Function(List<String> command) filter,
|
||||
Duration delay,
|
||||
Stream<List<int>> Function() stdout,
|
||||
Stream<List<int>> Function() stderr,
|
||||
}) {
|
||||
int flakes,
|
||||
bool Function(List<String> command) filter,
|
||||
Duration delay,
|
||||
Stream<List<int>> Function() stdout,
|
||||
Stream<List<int>> Function() stderr,
|
||||
}) {
|
||||
int flakesLeft = flakes;
|
||||
stdout ??= () => const Stream<List<int>>.empty();
|
||||
stderr ??= () => const Stream<List<int>>.empty();
|
||||
|
||||
@@ -188,25 +188,19 @@ class FakeHttpClient implements HttpClient {
|
||||
String userAgent;
|
||||
|
||||
@override
|
||||
void addCredentials(
|
||||
Uri url, String realm, HttpClientCredentials credentials) {}
|
||||
void addCredentials(Uri url, String realm, HttpClientCredentials credentials) {}
|
||||
|
||||
@override
|
||||
void addProxyCredentials(
|
||||
String host, int port, String realm, HttpClientCredentials credentials) {}
|
||||
void addProxyCredentials(String host, int port, String realm, HttpClientCredentials credentials) {}
|
||||
|
||||
@override
|
||||
set authenticate(
|
||||
Future<bool> Function(Uri url, String scheme, String realm) f) {}
|
||||
set authenticate(Future<bool> Function(Uri url, String scheme, String realm) f) {}
|
||||
|
||||
@override
|
||||
set authenticateProxy(
|
||||
Future<bool> Function(String host, int port, String scheme, String realm)
|
||||
f) {}
|
||||
set authenticateProxy(Future<bool> Function(String host, int port, String scheme, String realm) f) {}
|
||||
|
||||
@override
|
||||
set badCertificateCallback(
|
||||
bool Function(X509Certificate cert, String host, int port) callback) {}
|
||||
set badCertificateCallback(bool Function(X509Certificate cert, String host, int port) callback) {}
|
||||
|
||||
@override
|
||||
void close({bool force = false}) {}
|
||||
|
||||
Reference in New Issue
Block a user