diff --git a/binding/form_mapping_test.go b/binding/form_mapping_test.go index d336e0f0..8437c69b 100644 --- a/binding/form_mapping_test.go +++ b/binding/form_mapping_test.go @@ -7,7 +7,6 @@ package binding import ( "encoding/hex" "errors" - "fmt" "mime/multipart" "reflect" "strconv" @@ -739,7 +738,7 @@ func TestTrySetCustomIntegration(t *testing.T) { type badCustom struct{} func (b *badCustom) UnmarshalParam(s string) error { - return fmt.Errorf("boom") + return errors.New("boom") } func TestTrySetCustomError(t *testing.T) {