Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante291 committed Nov 26, 2023
1 parent ae18909 commit 30946de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void main() {
await tester.tap(find.text('OK'));
await tester.pump();

expect(find.text('9:30 PM'), findsOneWidget);
expect(find.text('12:00 PM'), findsOneWidget);
});
});

Expand Down Expand Up @@ -384,7 +384,7 @@ void main() {
expect(textDesc, findsOneWidget);
expect(dateTimeTiles, findsNWidgets(2));
final expectedDate = DateTime(2021, 1, 1);
const expectedTime = '5:30 AM';
const expectedTime = '12:00 AM';

expect(
(tester.firstWidget(dateTimeTiles) as DateTimeTile).date,
Expand Down Expand Up @@ -416,7 +416,7 @@ void main() {
expect(textDesc, findsOneWidget);
expect(dateTimeTiles, findsNWidgets(2));
final expectedDate = DateTime(2021, 1, 1);
const expectedTime = '5:30 AM';
const expectedTime = '12:00 AM';

expect(
(tester.firstWidget(dateTimeTiles) as DateTimeTile).date,
Expand Down

0 comments on commit 30946de

Please sign in to comment.