Skip to content

Commit

Permalink
docs: Update testExecutable signature in documentation (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal authored Sep 28, 2024
1 parent d92073c commit e8a9d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/leak_tracking/DETECT.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';
...
FutureOr<void> testExecutable(FutureOr<void> Function() testMain) {
Future<void> testExecutable(FutureOr<void> Function() testMain) async {
LeakTesting.enable();
LeakTesting.settings = LeakTesting.settings
.withIgnored(createdByTestHelpers: true);
...
return testMain();
await testMain();
}
```

Expand Down

0 comments on commit e8a9d14

Please sign in to comment.