From 36ccfac7877e7895abbbabf6a2df47dd957f4d9b Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sat, 5 Mar 2022 20:48:27 -0500 Subject: [PATCH] Fix tests --- server/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server_test.go b/server/server_test.go index 10fd314..6c3a36a 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -146,9 +146,9 @@ func TestServer_StaticSites(t *testing.T) { rr = request(t, s, "GET", "/mytopic", "", nil) require.Equal(t, 200, rr.Code) - require.Contains(t, rr.Body.String(), ``) + require.Contains(t, rr.Body.String(), ``) - rr = request(t, s, "GET", "/static/css/app.css", "", nil) + rr = request(t, s, "GET", "/static/css/home.css", "", nil) require.Equal(t, 200, rr.Code) require.Contains(t, rr.Body.String(), `html, body {`)