diff --git a/packages/flutter/test/cupertino/bottom_tab_bar_test.dart b/packages/flutter/test/cupertino/bottom_tab_bar_test.dart index 4d5b407bde..8ee98c2953 100644 --- a/packages/flutter/test/cupertino/bottom_tab_bar_test.dart +++ b/packages/flutter/test/cupertino/bottom_tab_bar_test.dart @@ -13,7 +13,7 @@ Future pumpWidgetWithBoilerplate(WidgetTester tester, Widget widget) async await tester.pumpWidget( Localizations( locale: const Locale('en', 'US'), - delegates: >[ + delegates: const >[ DefaultWidgetsLocalizations.delegate, DefaultCupertinoLocalizations.delegate, ], diff --git a/packages/flutter/test/cupertino/tab_scaffold_test.dart b/packages/flutter/test/cupertino/tab_scaffold_test.dart index 9d70b1c4d4..5b24b93f41 100644 --- a/packages/flutter/test/cupertino/tab_scaffold_test.dart +++ b/packages/flutter/test/cupertino/tab_scaffold_test.dart @@ -437,7 +437,7 @@ void main() { testWidgets('Tab contents bottom padding are not consumed by viewInsets when resizeToAvoidBottomInset overriden', (WidgetTester tester) async { final Widget child = Localizations( locale: const Locale('en', 'US'), - delegates: >[ + delegates: const >[ DefaultWidgetsLocalizations.delegate, DefaultCupertinoLocalizations.delegate, ],