From 35a4e68ad6f3142c5bbb7f9ec4671e3514f3f64a Mon Sep 17 00:00:00 2001 From: Fabian Vowie Date: Tue, 4 Jan 2022 18:24:44 +0100 Subject: [PATCH] Use proper test name for index route test --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 59a0cc1..513828f 100644 --- a/main_test.go +++ b/main_test.go @@ -9,7 +9,7 @@ import ( ) func TestIndexRoute(t *testing.T) { - t.Run("test", func(t *testing.T) { + t.Run("Index route returns valid response", func(t *testing.T) { request := httptest.NewRequest(http.MethodGet, "/", nil) responseRecorder := httptest.NewRecorder()