Skip to content

Commit ddaff91

Browse files
committed
Omit obvious local variable types in snack_bar_test.dart
1 parent 4fb4937 commit ddaff91

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/material_ui/test/snack_bar_test.dart‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4441,7 +4441,7 @@ void main() {
44414441
testWidgets('SnackBar does not allocate 40% empty space on right when action overflows', (
44424442
WidgetTester tester,
44434443
) async {
4444-
const double screenWidth = 500.0;
4444+
const screenWidth = 500.0;
44454445
tester.view.physicalSize = const Size(screenWidth, 800.0);
44464446
tester.view.devicePixelRatio = 1.0;
44474447
addTearDown(tester.view.reset);
@@ -4492,8 +4492,8 @@ void main() {
44924492
testWidgets('SnackBar respects custom padding when action overflows', (
44934493
WidgetTester tester,
44944494
) async {
4495-
const double screenWidth = 500.0;
4496-
const EdgeInsets customPadding = EdgeInsets.only(left: 36, right: 48);
4495+
const screenWidth = 500.0;
4496+
const customPadding = EdgeInsets.only(left: 36, right: 48);
44974497
tester.view.physicalSize = const Size(screenWidth, 800.0);
44984498
tester.view.devicePixelRatio = 1.0;
44994499
addTearDown(tester.view.reset);

0 commit comments

Comments
 (0)