1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00

test(processor): increase test coverage for parseISO8601Duration

This commit is contained in:
Frédéric Guillot 2025-07-07 16:56:00 -07:00
parent b48e6472f5
commit 2cfeefc8d2
5 changed files with 88 additions and 35 deletions

View file

@ -43,7 +43,7 @@ func fetchWatchTime(websiteURL, query string, isoDate bool) (int, error) {
ret := 0
if isoDate {
parsedDuration, err := parseISO8601(duration)
parsedDuration, err := parseISO8601Duration(duration)
if err != nil {
return 0, fmt.Errorf("unable to parse iso duration %s: %v", duration, err)
}