From 3fb7b707ce87f0f6127aab73aa3cc26c9d24153b Mon Sep 17 00:00:00 2001 From: Jahan Khan Date: Wed, 10 Jan 2024 17:22:13 -0500 Subject: [PATCH] remove w.Write check --- hlog/hlog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlog/hlog_test.go b/hlog/hlog_test.go index 2d9f5f54..a6ed987c 100644 --- a/hlog/hlog_test.go +++ b/hlog/hlog_test.go @@ -285,7 +285,7 @@ func TestAccessHandler(t *testing.T) { } h := AccessHandler(f)(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - _, _ = w.Write([]byte{'a'}) + w.Write([]byte{'a'}) w.WriteHeader(http.StatusOK) }))