Unverified Commit e2775497 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

add missing `await`s (#144978)

This was uncovered as part of https://github.com/flutter/flutter/pull/144706.
parent 46cb2d7b
......@@ -5131,7 +5131,7 @@ void main() {
);
// 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 {
......
......@@ -1059,7 +1059,7 @@ void main() {
);
// 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 {
......
......@@ -453,7 +453,7 @@ void main() {
);
// 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 {
......
......@@ -144,7 +144,7 @@ void main() {
layoutDirection: TextDirection.ltr,
);
await controller.create(size: const Size(100.0, 100.0));
expectLater(
await expectLater(
() {
final AndroidViewController controller = PlatformViewsService.initAndroidView(
id: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment