Skip to content

Commit 6c7ddb8

Browse files
authored
Update BottomSheetTest (flutter#134562)
1 parent 57d2bad commit 6c7ddb8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/flutter/test/material/bottom_sheet_test.dart

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,7 @@ void main() {
16731673
});
16741674

16751675
group('Modal BottomSheet avoids overlapping display features', () {
1676-
testWidgetsWithLeakTracking('positioning using anchorPoint',
1677-
(WidgetTester tester) async {
1676+
testWidgetsWithLeakTracking('positioning using anchorPoint', (WidgetTester tester) async {
16781677
await tester.pumpWidget(
16791678
MaterialApp(
16801679
builder: (BuildContext context, Widget? child) {
@@ -1710,12 +1709,7 @@ void main() {
17101709
// Should take the right side of the screen
17111710
expect(tester.getTopLeft(find.byType(Placeholder)).dx, 410);
17121711
expect(tester.getBottomRight(find.byType(Placeholder)).dx, 800);
1713-
},
1714-
leakTrackingTestConfig: const LeakTrackingTestConfig(
1715-
// TODO(polina-c): remove after fix
1716-
// https://github.com/flutter/flutter/issues/133594
1717-
notDisposedAllowList: <String, int?> {'ValueNotifier<EdgeInsets>': 1}
1718-
));
1712+
});
17191713

17201714
testWidgetsWithLeakTracking('positioning using Directionality', (WidgetTester tester) async {
17211715
await tester.pumpWidget(

0 commit comments

Comments
 (0)