Apply Mockito-related type fixes (#16002)
Type-related fixes in flutter_driver and fuchsia_remote_debug_protocol tests.
This commit is contained in:
@@ -40,7 +40,8 @@ void main() {
|
||||
setUp(() {
|
||||
mockProcessManager = new MockProcessManager();
|
||||
mockProcessResult = new MockProcessResult();
|
||||
when(mockProcessManager.run(typed(any))).thenReturn(mockProcessResult);
|
||||
when(mockProcessManager.run(typed(any))).thenReturn(
|
||||
new Future<MockProcessResult>.value(mockProcessResult));
|
||||
});
|
||||
|
||||
test('verify interface is appended to ipv6 address', () async {
|
||||
|
||||
Reference in New Issue
Block a user