aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-01-28 22:06:46 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-01-28 22:06:46 +0300
commitba1af3d90e4b5d2a01cd42e558e0a53f342a2f75 (patch)
tree9fab6c26920dcdf6a1d07c9edd437c1c528456aa /main.go
parentf3a4c3e464285abd5db211c047f16dbc5ce82c32 (diff)
downloadradiorus-rss-ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75.tar.gz
radiorus-rss-ba1af3d90e4b5d2a01cd42e558e0a53f342a2f75.zip
improve test coverage
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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])