Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Nov 13, 2024
1 parent c67ae29 commit f516eb6
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 @@ -2122,7 +2122,7 @@ type BrokenWriter struct {
}

func (br *BrokenWriter) Write(p []byte) (n int, err error) {
return 0, fmt.Errorf("failed writing")
return 0, errors.New("failed writing")
}

func TestClientDisconnect(t *testing.T) {
Expand Down

0 comments on commit f516eb6

Please sign in to comment.