From ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Tue, 28 Jan 2020 22:06:46 +0300 Subject: improve test coverage --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 990516e..c34dcf4 100644 --- a/main.go +++ b/main.go @@ -122,7 +122,7 @@ func getFeed(url string) (feed *feeds.Feed) { func populateFeed(feed *feeds.Feed, page []byte) (err error) { titleMatch := programNameRe.FindSubmatch(page) if len(titleMatch) < 1 { - return fmt.Errorf("bad program page") + return fmt.Errorf("bad programme page") } feed.Title = string(titleMatch[1]) -- cgit v1.2.3