Skip to content

Commit

Permalink
fix: linter feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Nov 12, 2024
1 parent 0cb7a89 commit 6e14830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huma_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6e14830

Please sign in to comment.