From 2f46d36bf4f05e0f48775f045bade2a67cbcc28e Mon Sep 17 00:00:00 2001 From: Swiftaxe Date: Tue, 17 Aug 2021 19:07:05 +0200 Subject: [PATCH] Fixed leak and removed no-shuffle tag in test/gestures/tap_test.dart (#88342) --- packages/flutter/test/gestures/tap_test.dart | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/flutter/test/gestures/tap_test.dart b/packages/flutter/test/gestures/tap_test.dart index 9779004b58e..a2e46121425 100644 --- a/packages/flutter/test/gestures/tap_test.dart +++ b/packages/flutter/test/gestures/tap_test.dart @@ -2,12 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// TODO(gspencergoog): Remove this tag once this test's state leaks/test -// dependencies have been fixed. -// https://github.com/flutter/flutter/issues/85160 -// Fails with "flutter test --test-randomize-ordering-seed=1000" -@Tags(['no-shuffle']) - import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -838,11 +832,11 @@ void main() { }); tearDown(() { - recognized.clear(); primary.dispose(); primary2.dispose(); secondary.dispose(); tertiary.dispose(); + recognized.clear(); }); testGesture('A primary tap recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) {