From f516eb66ac64da7d9b1896cd7d5baa40a79d3e71 Mon Sep 17 00:00:00 2001 From: Daniel Taylor Date: Tue, 12 Nov 2024 19:20:51 -0800 Subject: [PATCH] fix: linter --- huma_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huma_test.go b/huma_test.go index 128fa872..d5e984b4 100644 --- a/huma_test.go +++ b/huma_test.go @@ -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) {