Fixed leak and removed no-shuffle tag in widgets/clip_test.dart (#88824)

This commit is contained in:
Alexander Dahlberg 2021-09-09 00:22:06 +02:00 committed by GitHub
parent 40b33e238b
commit 4dba7d839b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,15 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// no-shuffle:
// //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=456"
// reduced-test-set:
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set', 'no-shuffle'])
@Tags(<String>['reduced-test-set'])
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
@ -320,6 +315,7 @@ void main() {
await tester.tapAt(const Offset(100.0, 100.0));
expect(log, equals(<String>['a', 'tap', 'a', 'b', 'c', 'tap']));
log.clear();
});
testWidgets('debugPaintSizeEnabled', (WidgetTester tester) async {