Skip to content

Commit

Permalink
Disable leak tracking for selection text area (#147273)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal committed Apr 24, 2024
1 parent fa85f69 commit 2676c84
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/flutter/test/material/selection_area_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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 <String>['CurvedAnimation']),
(WidgetTester tester) async {
testWidgets('stopping drag of end handle will show the toolbar', (WidgetTester tester) async {
final FocusNode focusNode = FocusNode();
addTearDown(focusNode.dispose);

Expand Down

0 comments on commit 2676c84

Please sign in to comment.