Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 82eda6e

Browse files
committed
fix: Missing type arguments for generic method
1 parent 0920d20 commit 82eda6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/share/test/share_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void main() {
8686
try {
8787
file.createSync();
8888
await Share.shareFile(file);
89-
verify(mockChannel.invokeMethod('shareFile', <String, dynamic>{
89+
verify(mockChannel.invokeMethod<void>('shareFile', <String, dynamic>{
9090
'path': file.path,
9191
'mimeType': 'image/png',
9292
}));
@@ -100,7 +100,7 @@ void main() {
100100
try {
101101
file.createSync();
102102
await Share.shareFile(file, mimeType: '*/*');
103-
verify(mockChannel.invokeMethod('shareFile', <String, dynamic>{
103+
verify(mockChannel.invokeMethod<void>('shareFile', <String, dynamic>{
104104
'path': file.path,
105105
'mimeType': '*/*',
106106
}));

0 commit comments

Comments
 (0)