Skip to content

Commit

Permalink
Remove duplicate call
Browse files Browse the repository at this point in the history
  • Loading branch information
bleroux committed Dec 6, 2023
1 parent 3e9b284 commit 075f9dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/flutter/test/material/text_field_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -623,12 +623,11 @@ void main() {
if (isTargetPlatformiOS) {
expect(find.text('Share...'), findsOneWidget);
await tester.tap(find.text('Share...'));
expect(lastShare, 'Test');
} else {
expect(find.text('Share'), findsOneWidget);
await tester.tap(find.text('Share'));
expect(lastShare, 'Test');
}
expect(lastShare, 'Test');
},
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS, TargetPlatform.android }),
skip: isContextMenuProvidedByPlatform, // [intended] only applies to platforms where we supply the context menu.
Expand Down

0 comments on commit 075f9dc

Please sign in to comment.