From 6bdebcf58d108851a9b4126d7442ce690566c3c1 Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:20:25 -0700 Subject: [PATCH] Fix test case in "getRootWidgetSummaryTree" test (#149923) --- packages/flutter/test/widgets/widget_inspector_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/test/widgets/widget_inspector_test.dart b/packages/flutter/test/widgets/widget_inspector_test.dart index 38137c6658ac0..d17615af44739 100644 --- a/packages/flutter/test/widgets/widget_inspector_test.dart +++ b/packages/flutter/test/widgets/widget_inspector_test.dart @@ -2027,9 +2027,9 @@ class _TestWidgetInspectorService extends TestWidgetInspectorService { 'objectGroup': group }, ))! as List; + childrenJson = childJson['children']! as List; expect(alternateChildrenJson.length, equals(0)); - // Tests are failing when this typo is fixed. - expect(childJson['chidlren'], isNull); + expect(childrenJson.length, equals(0)); }); testWidgets(