File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
packages/flutter/test/widgets Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- // TODO(gspencergoog): Remove this tag once this test's state leaks/test
6- // dependencies have been fixed.
7- // https://github.com/flutter/flutter/issues/85160
8- // Fails with "flutter test --test-randomize-ordering-seed=123"
9- @Tags (< String > ['no-shuffle' ])
10-
115import 'dart:ui' as ui show Image;
126
137import 'package:flutter/widgets.dart' ;
@@ -374,7 +368,7 @@ void main() {
374368 expect (imageCache! .currentSize, 0 );
375369
376370 // Occupy the only slot in the cache with another image.
377- final TestImageProvider testImageProvider2 = TestImageProvider (testImage);
371+ final TestImageProvider testImageProvider2 = TestImageProvider (testImage. clone () );
378372 testImageProvider2.complete ();
379373 await precacheImage (testImageProvider2, context.context! );
380374 expect (imageCache! .containsKey (testImageProvider), false );
You can’t perform that action at this time.
0 commit comments