Skip to content

Commit

Permalink
Fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
QuncCccccc authored and bleroux committed May 7, 2024
1 parent ea55506 commit c1e73c0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -27,15 +27,15 @@ void main() {
findsOne,
);

//one OutlinedButton with onPressed null
// One OutlinedButton with onPressed null.
expect(
find.byWidgetPredicate((Widget widget) {
return widget is OutlinedButton && widget.onPressed == null;
}),
findsOne,
);

//one OutlinedButton with onPressed not null
// One OutlinedButton with onPressed not null.
expect(
find.byWidgetPredicate((Widget widget) {
return widget is OutlinedButton && widget.onPressed != null;
Expand Down

0 comments on commit c1e73c0

Please sign in to comment.