Skip to content

Commit 6bdebcf

Browse files
authored
Fix test case in "getRootWidgetSummaryTree" test (#149923)
1 parent 15307a9 commit 6bdebcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter/test/widgets/widget_inspector_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,9 +2027,9 @@ class _TestWidgetInspectorService extends TestWidgetInspectorService {
20272027
'objectGroup': group
20282028
},
20292029
))! as List<Object?>;
2030+
childrenJson = childJson['children']! as List<Object?>;
20302031
expect(alternateChildrenJson.length, equals(0));
2031-
// Tests are failing when this typo is fixed.
2032-
expect(childJson['chidlren'], isNull);
2032+
expect(childrenJson.length, equals(0));
20332033
});
20342034

20352035
testWidgets(

0 commit comments

Comments
 (0)