aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-03-24 09:07:38 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-03-24 09:07:38 +0300
commit3800942cad384d66d7387bb7ab7bb1ac95892105 (patch)
tree2dd619abd0f8f16d32ee5861facd5131abe83434
parent3cd999ac2ed914eb2d0c76e31261b4416a84d9ca (diff)
downloadradiorus-rss-3800942cad384d66d7387bb7ab7bb1ac95892105.tar.gz
radiorus-rss-3800942cad384d66d7387bb7ab7bb1ac95892105.zip
refactor test
-rw-r--r--main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go
index a85b65d..2a2c3b8 100644
--- a/main_test.go
+++ b/main_test.go
@@ -222,7 +222,7 @@ func TestMissingFeed(t *testing.T) {
t.Fatalf("process ran with err %v, want exit status 1", err)
}
- assertStringContains(t, string(out), fmt.Sprint("84/episodes: bad programme page"))
+ assertStringContains(t, string(out), "84/episodes: bad programme page")
}
func TestServedFeed(t *testing.T) {