Fix some tests now that the isMultiline flag is added to values (#37328)
diff --git a/packages/flutter/test/widgets/custom_painter_test.dart b/packages/flutter/test/widgets/custom_painter_test.dart index 9b62629..9294acb 100644 --- a/packages/flutter/test/widgets/custom_painter_test.dart +++ b/packages/flutter/test/widgets/custom_painter_test.dart
@@ -419,8 +419,7 @@ inMutuallyExclusiveGroup: true, header: true, obscured: true, - // TODO(mdebbar): Uncomment after https://github.com/flutter/engine/pull/9894 - //multiline: true, + multiline: true, scopesRoute: true, namesRoute: true, image: true, @@ -433,10 +432,7 @@ List<SemanticsFlag> flags = SemanticsFlag.values.values.toList(); // [SemanticsFlag.hasImplicitScrolling] isn't part of [SemanticsProperties] // therefore it has to be removed. - flags - // TODO(mdebbar): Remove this line after https://github.com/flutter/engine/pull/9894 - ..remove(SemanticsFlag.isMultiline) - ..remove(SemanticsFlag.hasImplicitScrolling); + flags.remove(SemanticsFlag.hasImplicitScrolling); TestSemantics expectedSemantics = TestSemantics.root( children: <TestSemantics>[ TestSemantics.rootChild( @@ -471,8 +467,7 @@ inMutuallyExclusiveGroup: true, header: true, obscured: true, - // TODO(mdebbar): Uncomment after https://github.com/flutter/engine/pull/9894 - //multiline: true, + multiline: true, scopesRoute: true, namesRoute: true, image: true, @@ -484,10 +479,7 @@ flags = SemanticsFlag.values.values.toList(); // [SemanticsFlag.hasImplicitScrolling] isn't part of [SemanticsProperties] // therefore it has to be removed. - flags - // TODO(mdebbar): Remove this line after https://github.com/flutter/engine/pull/9894 - ..remove(SemanticsFlag.isMultiline) - ..remove(SemanticsFlag.hasImplicitScrolling); + flags.remove(SemanticsFlag.hasImplicitScrolling); expectedSemantics = TestSemantics.root( children: <TestSemantics>[
diff --git a/packages/flutter/test/widgets/semantics_test.dart b/packages/flutter/test/widgets/semantics_test.dart index dcea4a6..2f29d35 100644 --- a/packages/flutter/test/widgets/semantics_test.dart +++ b/packages/flutter/test/widgets/semantics_test.dart
@@ -479,8 +479,7 @@ inMutuallyExclusiveGroup: true, header: true, obscured: true, - // TODO(mdebbar): Uncomment after https://github.com/flutter/engine/pull/9894 - //multiline: true, + multiline: true, scopesRoute: true, namesRoute: true, image: true, @@ -489,8 +488,6 @@ ); final List<SemanticsFlag> flags = SemanticsFlag.values.values.toList(); flags - // TODO(mdebbar): Remove this line after https://github.com/flutter/engine/pull/9894 - ..remove(SemanticsFlag.isMultiline) ..remove(SemanticsFlag.hasToggledState) ..remove(SemanticsFlag.isToggled) ..remove(SemanticsFlag.hasImplicitScrolling);