From 6b6ac46ae37676cebe0bef1a72ad1819ab6d555e Mon Sep 17 00:00:00 2001 From: Pratham Gadkari Date: Sun, 30 Nov 2025 16:01:27 +0530 Subject: [PATCH] using errors instead of fmt --- binding/form_mapping_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {