Skip to content

Commit

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

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

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

test('sanity check - locale $l can self-parse $formatted text month', () {
final parsed = format.tryParse(formatted);
final parsed = format.parse(formatted);

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

0 comments on commit dcf37a5

Please sign in to comment.