From 2676c84a90d23174c8104cf1167032ff4db910c6 Mon Sep 17 00:00:00 2001 From: Valentin Vignal <32538273+ValentinVignal@users.noreply.github.com> Date: Thu, 25 Apr 2024 00:06:17 +0800 Subject: [PATCH] Disable leak tracking for selection text area (#147273) --- packages/flutter/test/material/selection_area_test.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/flutter/test/material/selection_area_test.dart b/packages/flutter/test/material/selection_area_test.dart index bde06237dede9..9967576c88cff 100644 --- a/packages/flutter/test/material/selection_area_test.dart +++ b/packages/flutter/test/material/selection_area_test.dart @@ -9,7 +9,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart'; import '../widgets/process_text_utils.dart'; @@ -289,10 +288,7 @@ void main() { expect(content!.plainText, 'How'); }); - testWidgets('stopping drag of end handle will show the toolbar', - // TODO(polina-c): remove when fixed https://github.com/flutter/flutter/issues/145600 [leak-tracking-opt-in] - experimentalLeakTesting: LeakTesting.settings.withTracked(classes: const ['CurvedAnimation']), - (WidgetTester tester) async { + testWidgets('stopping drag of end handle will show the toolbar', (WidgetTester tester) async { final FocusNode focusNode = FocusNode(); addTearDown(focusNode.dispose);