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
await tester.pumpWidget(
Localizations(
locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[
delegates: const <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate,
DefaultCupertinoLocalizations.delegate,
],
......
......@@ -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: <LocalizationsDelegate<dynamic>>[
delegates: const <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.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