diff options
author | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-01-28 22:06:46 +0300 |
---|---|---|
committer | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-01-28 22:06:46 +0300 |
commit | ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75 (patch) | |
tree | 9fab6c26920dcdf6a1d07c9edd437c1c528456aa /main.go | |
parent | f3a4c3e464285abd5db211c047f16dbc5ce82c32 (diff) | |
download | radiorus-rss-ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75.tar.gz radiorus-rss-ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75.zip |
improve test coverage
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |