From 3800942cad384d66d7387bb7ab7bb1ac95892105 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Tue, 24 Mar 2020 09:07:38 +0300 Subject: refactor test --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_test.go') 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) { -- cgit v1.2.3