mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix failing test at master. (#135394)
This commit is contained in:
parent
797d34e5af
commit
49f1a6bb96
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user