From ef7623b1e667ef5ec6f9585973e18d3a6b5de820 Mon Sep 17 00:00:00 2001 From: Joy Date: Wed, 20 Nov 2024 02:43:08 +0530 Subject: [PATCH] Chore : Added spaces --- service/main_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/main_test.go b/service/main_test.go index b9553cf..0bf3925 100644 --- a/service/main_test.go +++ b/service/main_test.go @@ -18,6 +18,7 @@ func TestMainService(t *testing.T) { w := httptest.NewRecorder() r, _ := http.NewRequest("GET", "/", nil) handler(w, r) + assert.Equal(t, http.StatusOK, w.Code) }) @@ -30,10 +31,12 @@ func TestMainService(t *testing.T) { }, }, } + handler := MainService(discordMessage) w := httptest.NewRecorder() r, _ := http.NewRequest("GET", "/", nil) handler(w, r) + assert.Equal(t, http.StatusOK, w.Code) })