Skip to content

Commit 9003c29

Browse files
committed
action_sheet test: Remove unnecessary teardowns
This teardown is already added in setupToMessageActionSheet, which is called near the top of every test.
1 parent eaa1cbe commit 9003c29

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/widgets/action_sheet_test.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ void main() {
102102
return mock;
103103
}
104104

105-
tearDown(() async {
106-
testBinding.reset();
107-
});
108-
109105
Future<void> tapShareButton(WidgetTester tester) async {
110106
await tester.ensureVisible(find.byIcon(Icons.adaptive.share, skipOffstage: false));
111107
await tester.tap(find.byIcon(Icons.adaptive.share));
@@ -306,10 +302,6 @@ void main() {
306302
);
307303
});
308304

309-
tearDown(() async {
310-
testBinding.reset();
311-
});
312-
313305
Future<void> tapCopyButton(WidgetTester tester) async {
314306
await tester.ensureVisible(find.byIcon(Icons.copy, skipOffstage: false));
315307
await tester.tap(find.byIcon(Icons.copy));

0 commit comments

Comments
 (0)