Skip to content

Commit

Permalink
fix line chart test
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroChitto committed Jan 29, 2024
1 parent 3b83bf4 commit 29cbff0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/widget/line_chart_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,22 @@ void main() {
],
colorLine2Data: const Color(0xffffffff),
colorBackground: const Color(0xff356CA3),
maxDays: 31.0,
period: Period.month,
),
),
)
);

expect(find.text('4'), findsOneWidget);
expect(find.text('2'), findsOneWidget);
expect(find.text('5'), findsOneWidget);
expect(find.text('8'), findsOneWidget);
expect(find.text('11'), findsOneWidget);
expect(find.text('18'), findsOneWidget);
expect(find.text('25'), findsOneWidget);
expect(find.text('14'), findsOneWidget);
expect(find.text('17'), findsOneWidget);
expect(find.text('20'), findsOneWidget);
expect(find.text('23'), findsOneWidget);
expect(find.text('26'), findsOneWidget);
expect(find.text('29'), findsOneWidget);

}
);
Expand Down

0 comments on commit 29cbff0

Please sign in to comment.