From 04de2ed3d5f86ab18af2e2e05c84f0a9cb21601e Mon Sep 17 00:00:00 2001 From: Alexander Dahlberg Date: Tue, 24 Aug 2021 00:17:05 +0200 Subject: [PATCH] Fixed leak and removed no-shuffle tag on scaffold_test.dart (#88375) --- packages/flutter/test/material/scaffold_test.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/flutter/test/material/scaffold_test.dart b/packages/flutter/test/material/scaffold_test.dart index 5650d2a7374..58623f1fda0 100644 --- a/packages/flutter/test/material/scaffold_test.dart +++ b/packages/flutter/test/material/scaffold_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=123" -@Tags(['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(); }, );