Skip to content

Commit

Permalink
Remove conditions that depend on order. (#141183)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored Jan 9, 2024
1 parent 7bf375b commit 188d4d1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/flutter_test/test/widget_tester_leaks_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// TODO(polina-c): 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=20240108"
@Tags(<String>['no-shuffle'])
library;

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
Expand Down Expand Up @@ -48,9 +41,6 @@ void main() {
_test2TrackingOffLeaks = 'test2, tracking-off, leaks',
experimentalLeakTesting: LeakTesting.settings.withIgnoredAll(),
(WidgetTester widgetTester) async {
expect(LeakTracking.isStarted, true);
expect(LeakTracking.phase.name, null);
expect(LeakTracking.phase.ignoreLeaks, true);
await widgetTester.pumpWidget(StatelessLeakingWidget());
});

Expand Down

0 comments on commit 188d4d1

Please sign in to comment.