mirror of
https://github.com/flutter/flutter
synced 2024-08-24 18:36:03 +00:00
add missing await
s (#144978)
This was uncovered as part of https://github.com/flutter/flutter/pull/144706.
This commit is contained in:
parent
46cb2d7b01
commit
e277549751
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue