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

Commit 299024e

Browse files
author
Michael Klimushyn
authored
[share] Fix pedantic lints (#2320)
1 parent 54c58e2 commit 299024e

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

packages/share/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.3+4
2+
3+
* Fix pedantic lints. This shouldn't affect existing functionality.
4+
15
## 0.6.3+3
26

37
* README update.

packages/share/analysis_options.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/share/example/test_driver/test/share_e2e_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Future<void> main() async {
1010
final FlutterDriver driver = await FlutterDriver.connect();
1111
final String result =
1212
await driver.requestData(null, timeout: const Duration(minutes: 1));
13-
driver.close();
13+
await driver.close();
1414
exit(result == 'pass' ? 0 : 1);
1515
}

packages/share/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for sharing content via the platform share UI, using
33
the ACTION_SEND intent on Android and UIActivityViewController on iOS.
44
author: Flutter Team <flutter-dev@googlegroups.com>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/share
6-
version: 0.6.3+3
6+
version: 0.6.3+4
77

88
flutter:
99
plugin:

packages/share/test/share_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void main() {
2121
// Re-pipe to mockito for easier verifies.
2222
Share.channel.setMockMethodCallHandler((MethodCall call) async {
2323
// The explicit type can be void as the only method call has a return type of void.
24-
mockChannel.invokeMethod<void>(call.method, call.arguments);
24+
await mockChannel.invokeMethod<void>(call.method, call.arguments);
2525
});
2626
});
2727

0 commit comments

Comments
 (0)