Unverified Commit 2f46d36b authored by Swiftaxe's avatar Swiftaxe Committed by GitHub

Fixed leak and removed no-shuffle tag in test/gestures/tap_test.dart (#88342)

parent 1079136f
...@@ -2,12 +2,6 @@ ...@@ -2,12 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // 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(<String>['no-shuffle'])
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart'; import 'package:flutter/gestures.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
...@@ -838,11 +832,11 @@ void main() { ...@@ -838,11 +832,11 @@ void main() {
}); });
tearDown(() { tearDown(() {
recognized.clear();
primary.dispose(); primary.dispose();
primary2.dispose(); primary2.dispose();
secondary.dispose(); secondary.dispose();
tertiary.dispose(); tertiary.dispose();
recognized.clear();
}); });
testGesture('A primary tap recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) { testGesture('A primary tap recognizer does not form competition with a secondary tap recognizer', (GestureTester tester) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment