Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Sep 2, 2024
1 parent 5954e4e commit fa5bf95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rest/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rest

import (
"encoding/json"
"fmt"
"io"
"mime"
"mime/multipart"
Expand Down Expand Up @@ -171,7 +170,7 @@ func TestCreateMultipartForm(t *testing.T) {
name := form.FormName()
expected, ok := tc.Expected[name]
if !ok {
t.Fatalf(fmt.Sprintf("field %s does not exist", name))
t.Fatalf("field %s does not exist", name)
} else {
result, err := io.ReadAll(form)
assert.NilError(t, err)
Expand Down

0 comments on commit fa5bf95

Please sign in to comment.