add missing awaits (#144978)

This was uncovered as part of https://github.com/flutter/flutter/pull/144706.
This commit is contained in:
Michael Goderbauer 2024-03-12 09:51:51 -07:00 committed by GitHub
parent 46cb2d7b01
commit e277549751
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -5131,7 +5131,7 @@ void main() {
); );
// Delete button should be visible. // Delete button should be visible.
expectLater(find.byType(RawChip), matchesGoldenFile('raw_chip.disabled.delete_button.png')); await expectLater(find.byType(RawChip), matchesGoldenFile('raw_chip.disabled.delete_button.png'));
}); });
testWidgets('Delete button tooltip is not shown on disabled RawChip', (WidgetTester tester) async { testWidgets('Delete button tooltip is not shown on disabled RawChip', (WidgetTester tester) async {

View file

@ -1059,7 +1059,7 @@ void main() {
); );
// Delete button should be visible. // Delete button should be visible.
expectLater(find.byType(RawChip), matchesGoldenFile('filter_chip.disabled.delete_button.png')); await expectLater(find.byType(RawChip), matchesGoldenFile('filter_chip.disabled.delete_button.png'));
}); });
testWidgets('Delete button tooltip is not shown on disabled FilterChip', (WidgetTester tester) async { testWidgets('Delete button tooltip is not shown on disabled FilterChip', (WidgetTester tester) async {

View file

@ -453,7 +453,7 @@ void main() {
); );
// Delete button should be visible. // Delete button should be visible.
expectLater(find.byType(RawChip), matchesGoldenFile('input_chip.disabled.delete_button.png')); await expectLater(find.byType(RawChip), matchesGoldenFile('input_chip.disabled.delete_button.png'));
}); });
testWidgets('Delete button tooltip is not shown on disabled InputChip', (WidgetTester tester) async { testWidgets('Delete button tooltip is not shown on disabled InputChip', (WidgetTester tester) async {

View file

@ -144,7 +144,7 @@ void main() {
layoutDirection: TextDirection.ltr, layoutDirection: TextDirection.ltr,
); );
await controller.create(size: const Size(100.0, 100.0)); await controller.create(size: const Size(100.0, 100.0));
expectLater( await expectLater(
() { () {
final AndroidViewController controller = PlatformViewsService.initAndroidView( final AndroidViewController controller = PlatformViewsService.initAndroidView(
id: 0, id: 0,