Skip to content

Commit 7f4f1a0

Browse files
Fix formatting issues in search_anchor.0_test.dart (flutter#152669)
Fix formatting issues in `examples/api/test/material/search_anchor/search_anchor.0_test.dart` Comes from flutter#152371 Linked to flutter#130459
1 parent e38f730 commit 7f4f1a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/api/test/material/search_anchor/search_anchor.0_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() {
1212

1313
expect(find.widgetWithText(AppBar, 'Search Bar Sample'), findsOne);
1414

15-
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color ==const Color(0xff6750a4)), findsOne);
15+
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color == const Color(0xff6750a4)), findsOne);
1616

1717
await tester.tap(find.byIcon(Icons.search));
1818
await tester.pumpAndSettle();
@@ -28,7 +28,7 @@ void main() {
2828
await tester.tap(find.widgetWithText(ListTile, 'red'));
2929
await tester.pumpAndSettle();
3030

31-
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color ==const Color(0xff904a42)), findsOne);
31+
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color == const Color(0xff904a42)), findsOne);
3232

3333
await tester.tap(find.byIcon(Icons.search));
3434
await tester.pumpAndSettle();
@@ -50,6 +50,6 @@ void main() {
5050
await tester.tap(find.widgetWithText(ListTile, 'blue'));
5151
await tester.pumpAndSettle();
5252

53-
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color ==const Color(0xff36618e)), findsOne);
53+
expect(find.byWidgetPredicate((Widget widget) => widget is Card && widget.color == const Color(0xff36618e)), findsOne);
5454
});
5555
}

0 commit comments

Comments
 (0)