Skip to content

Commit

Permalink
Avoid pointer collision in navigator_test (#89315)
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhtai committed Sep 1, 2021
1 parent 14a16b8 commit 2202556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/test/widgets/navigator_test.dart
Expand Up @@ -306,7 +306,7 @@ void main() {
await tester.pumpWidget(MaterialApp(routes: routes));
final TestGesture gesture = await tester.startGesture(tester.getCenter(find.text('right')), pointer: 23);
expect(log, isEmpty);
await tester.tap(find.text('left'));
await tester.tap(find.text('left'), pointer: 1);
expect(log, equals(<String>['left']));
await gesture.up();
expect(log, equals(<String>['left']));
Expand Down

0 comments on commit 2202556

Please sign in to comment.