Skip to content

Commit

Permalink
Chore : Added spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
joyguptaa committed Nov 19, 2024
1 parent 07f8b11 commit ef7623b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand All @@ -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)
})

Expand Down

0 comments on commit ef7623b

Please sign in to comment.