Skip to content

Commit

Permalink
cover more tests with leak tracing (flutter#134833)
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyForNothing committed Sep 20, 2023
1 parent 22e4088 commit 9b767e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/flutter/test/services/system_chrome_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';

void main() {
TestWidgetsFlutterBinding.ensureInitialized();

testWidgets('SystemChrome overlay style test', (WidgetTester tester) async {
testWidgetsWithLeakTracking('SystemChrome overlay style test', (WidgetTester tester) async {
final List<MethodCall> log = <MethodCall>[];

TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler(SystemChannels.platform, (MethodCall methodCall) async {
Expand Down

0 comments on commit 9b767e6

Please sign in to comment.