Fixed leak and removed no-shuffle tag on scaffold_test.dart (#88375)

This commit is contained in:
Alexander Dahlberg 2021-08-24 00:17:05 +02:00 committed by GitHub
parent 87b17c8ccf
commit 04de2ed3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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=123"
@Tags(<String>['no-shuffle'])
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/material.dart';
@ -1930,6 +1924,7 @@ void main() {
' showBottomSheet() to close the old bottom sheet before creating a\n'
' Scaffold with a (non null) bottomSheet.\n',
);
await tester.pumpAndSettle();
},
);