Skip to content

Commit 5613ab0

Browse files
authored
remove unnecessary parens (#119736)
1 parent 1573c12 commit 5613ab0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/flutter/test/widgets/editable_text_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3075,15 +3075,15 @@ void main() {
30753075
void verifyAutocorrectionRectVisibility({ required bool expectVisible }) {
30763076
PaintPattern evaluate() {
30773077
if (expectVisible) {
3078-
return paints..something(((Symbol method, List<dynamic> arguments) {
3078+
return paints..something((Symbol method, List<dynamic> arguments) {
30793079
if (method != #drawRect) {
30803080
return false;
30813081
}
30823082
final Paint paint = arguments[1] as Paint;
30833083
return paint.color == rectColor;
3084-
}));
3084+
});
30853085
} else {
3086-
return paints..everything(((Symbol method, List<dynamic> arguments) {
3086+
return paints..everything((Symbol method, List<dynamic> arguments) {
30873087
if (method != #drawRect) {
30883088
return true;
30893089
}
@@ -3092,7 +3092,7 @@ void main() {
30923092
return true;
30933093
}
30943094
throw 'Expected: autocorrection rect not visible, found: ${arguments[0]}';
3095-
}));
3095+
});
30963096
}
30973097
}
30983098

0 commit comments

Comments
 (0)