Skip to content

Commit

Permalink
fix: remove usage of DateFormat.tryParse to be compatible with dart 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gbassisp committed Dec 18, 2024
1 parent 3c87587 commit d34e141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/failing_locales_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Future<void> main() async {
test('locale $l can parse $formatted text month', () {
final parser = AnyDate.fromLocale(l);

final parsed = parser.tryParse(formatted);
final parsed = parser.parse(formatted);

expect(parsed, equals(date));
});
Expand Down

0 comments on commit d34e141

Please sign in to comment.