Unverified Commit 49f1a6bb authored by Polina Cherkasova's avatar Polina Cherkasova Committed by GitHub

Fix failing test at master. (#135394)

parent 797d34e5
......@@ -549,8 +549,11 @@ void main() {
testWidgetsWithLeakTracking('Can autofocus a TextField nested in a Focus in a route.', (WidgetTester tester) async {
final TextEditingController controller = TextEditingController();
addTearDown(controller.dispose);
final FocusNode focusNode = FocusNode(debugLabel: 'Test Node');
addTearDown(focusNode.dispose);
await tester.pumpWidget(
Material(
child: MaterialApp(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment