diff --git a/packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart b/packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart index 0b4a6ec36dd..6d4a7372cc3 100644 --- a/packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart +++ b/packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart @@ -140,8 +140,7 @@ void main() { }; Future mockVmConnectionFunction(Uri uri) { - when(mockPeer.sendRequest( - typed(any), typed>(any))) + when(mockPeer.sendRequest(any, any)) .thenAnswer((_) => new Future>( () => flutterViewCannedResponses)); return new Future(() => mockPeer); @@ -235,8 +234,7 @@ void main() { }; Future mockVmConnectionFunction(Uri uri) { - when(mockPeer.sendRequest( - typed(any), typed>(any))) + when(mockPeer.sendRequest(any, any)) .thenAnswer((_) => new Future>(() => vmCannedResponse)); return new Future(() => mockPeer);