Stop skipping leaks in the test. (#136512)

This commit is contained in:
Polina Cherkasova
2023-10-13 11:55:58 -07:00
committed by GitHub
parent c353e641ad
commit 2ea541aca9

View File

@@ -506,12 +506,7 @@ void main() {
final RenderObject renderObject = tester.renderObject(find.byType(Scrollable));
expect(renderObject, paintsExactlyCountTimes(#drawParagraph, 10));
},
leakTrackingTestConfig: const LeakTrackingTestConfig(
// TODO(ksokolovskyi): remove after fixing
// https://github.com/flutter/flutter/issues/134661
notDisposedAllowList: <String, int?> {'AnnotatedRegionLayer<SystemUiOverlayStyle>': 1},
));
});
testWidgetsWithLeakTracking('ListView should paint with rtl', (WidgetTester tester) async {
await tester.pumpWidget(