Skip to content

Commit a94acf0

Browse files
Update tests
1 parent af50ac2 commit a94acf0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/flutter_switch_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void main() {
4747
),
4848
);
4949

50-
await tester.tap(find.byType(GestureDetector));
50+
await tester.tap(find.byType(FlutterSwitch));
5151
await tester.pump();
5252

5353
final align = tester.widget<Align>(alignToggleIndicatorFinder);
@@ -65,7 +65,7 @@ void main() {
6565
),
6666
);
6767

68-
await tester.tap(find.byType(GestureDetector));
68+
await tester.tap(find.byType(FlutterSwitch));
6969
await tester.pumpAndSettle();
7070

7171
final align = tester.widget<Align>(alignToggleIndicatorFinder);

0 commit comments

Comments
 (0)