Skip to content

Commit 8c35000

Browse files
committed
Add flutter test + dart format
1 parent 7b01b75 commit 8c35000

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/widget_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
// );
1818
// <-- This test is designed for Flutter's default counter app, which are not using. So ours app doesn’t show '0' or '1', which leads to: error test
1919

20-
2120
// expect(find.text('0'), findsOneWidget);
2221
// expect(find.text('1'), findsNothing);
2322

@@ -50,8 +49,9 @@ void main() {
5049
// Check that 'CONNECTED' or 'DISCONNECTED' appears on screen
5150
expect(
5251
find.byWidgetPredicate(
53-
(widget) => widget is Text &&
54-
(widget.data == 'CONNECTED' || widget.data == 'DISCONNECTED'),
52+
(widget) =>
53+
widget is Text &&
54+
(widget.data == 'CONNECTED' || widget.data == 'DISCONNECTED'),
5555
),
5656
findsOneWidget,
5757
);

0 commit comments

Comments
 (0)