Skip to content

Commit

Permalink
Update selectable_text_test.dart (#147677)
Browse files Browse the repository at this point in the history
Fix leak introduced by #147341
  • Loading branch information
polina-c committed May 2, 2024
1 parent 7203af3 commit 5eb1807
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/test/widgets/selectable_text_test.dart
Expand Up @@ -3399,6 +3399,7 @@ void main() {
// This is a regression test for
// https://github.com/flutter/flutter/issues/130198.
final PageController pageController = PageController();
addTearDown(pageController.dispose);
const String testValue = 'abc def ghi jkl mno pqr stu vwx yz';

await tester.pumpWidget(
Expand Down

0 comments on commit 5eb1807

Please sign in to comment.