Skip to content

Commit 3ecb028

Browse files
authored
test(share_plus): Integration test (#1033)
* test(share_plus): test isNotNull * style(share_plus): Delete unused imported package * style(share_plus): Flutter format . * style(share_plus): Describe more precisely * test(share_plus): Improve the readability of share_plus test file's names * style: rename
1 parent b9951b7 commit 3ecb028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/share_plus/share_plus/example/integration_test/share_plus_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ void main() {
1414
testWidgets('Can launch share', (WidgetTester tester) async {
1515
expect(Share.share('message', subject: 'title'), completes);
1616
});
17+
18+
testWidgets('Can launch shareWithResult', (WidgetTester tester) async {
19+
expect(Share.shareWithResult('message', subject: 'title'), isNotNull);
20+
});
1721
}

0 commit comments

Comments
 (0)