Skip to content

Commit

Permalink
Fixup minor copy-pasta comment typo (#728)
Browse files Browse the repository at this point in the history
imagess ->  images
  • Loading branch information
agcom authored Apr 27, 2024
1 parent c84ab5f commit c9953a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions image_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func handleImageEndpoint(w http.ResponseWriter, r *http.Request) {
var err error
var resBytes []byte

// imagess only accepts POST requests
// images only accepts POST requests
if r.Method != "POST" {
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
}
Expand Down Expand Up @@ -146,7 +146,7 @@ func TestImageEditWithoutMask(t *testing.T) {
func handleEditImageEndpoint(w http.ResponseWriter, r *http.Request) {
var resBytes []byte

// imagess only accepts POST requests
// images only accepts POST requests
if r.Method != "POST" {
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
}
Expand Down Expand Up @@ -202,7 +202,7 @@ func TestImageVariation(t *testing.T) {
func handleVariateImageEndpoint(w http.ResponseWriter, r *http.Request) {
var resBytes []byte

// imagess only accepts POST requests
// images only accepts POST requests
if r.Method != "POST" {
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
}
Expand Down

0 comments on commit c9953a7

Please sign in to comment.