diff --git a/test/failing_locales_test.dart b/test/failing_locales_test.dart index 79a989a..8b5241a 100644 --- a/test/failing_locales_test.dart +++ b/test/failing_locales_test.dart @@ -39,7 +39,7 @@ Future 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)); });