Update selectable_text_test.dart (#147677)

Fix leak introduced by https://github.com/flutter/flutter/pull/147341
This commit is contained in:
Polina Cherkasova 2024-05-01 17:03:15 -07:00 committed by GitHub
parent 7203af3e2f
commit 5eb1807464
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(