Skip to content

Commit c9953a7

Browse files
authored
Fixup minor copy-pasta comment typo (#728)
imagess -> images
1 parent c84ab5f commit c9953a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

image_api_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func handleImageEndpoint(w http.ResponseWriter, r *http.Request) {
3636
var err error
3737
var resBytes []byte
3838

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

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

205-
// imagess only accepts POST requests
205+
// images only accepts POST requests
206206
if r.Method != "POST" {
207207
http.Error(w, "Method not allowed", http.StatusMethodNotAllowed)
208208
}

0 commit comments

Comments
 (0)