diff --git a/huma_test.go b/huma_test.go index 7934f316..083e9670 100644 --- a/huma_test.go +++ b/huma_test.go @@ -1372,7 +1372,7 @@ Content of example2.txt. Method: http.MethodGet, Path: "/error", }, func(ctx context.Context, input *struct{}) (*struct{}, error) { - return nil, fmt.Errorf("whoops") + return nil, errors.New("whoops") }) }, Method: http.MethodGet,