Unverified Commit f1c24ed9 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[analyze] fix const lints (#56139)

parent 92df6f50
...@@ -13,7 +13,7 @@ Future<void> pumpWidgetWithBoilerplate(WidgetTester tester, Widget widget) async ...@@ -13,7 +13,7 @@ Future<void> pumpWidgetWithBoilerplate(WidgetTester tester, Widget widget) async
await tester.pumpWidget( await tester.pumpWidget(
Localizations( Localizations(
locale: const Locale('en', 'US'), locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[ delegates: const <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate, DefaultWidgetsLocalizations.delegate,
DefaultCupertinoLocalizations.delegate, DefaultCupertinoLocalizations.delegate,
], ],
......
...@@ -437,7 +437,7 @@ void main() { ...@@ -437,7 +437,7 @@ void main() {
testWidgets('Tab contents bottom padding are not consumed by viewInsets when resizeToAvoidBottomInset overriden', (WidgetTester tester) async { testWidgets('Tab contents bottom padding are not consumed by viewInsets when resizeToAvoidBottomInset overriden', (WidgetTester tester) async {
final Widget child = Localizations( final Widget child = Localizations(
locale: const Locale('en', 'US'), locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[ delegates: const <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate, DefaultWidgetsLocalizations.delegate,
DefaultCupertinoLocalizations.delegate, DefaultCupertinoLocalizations.delegate,
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment