Skip to content

Commit

Permalink
remove w.Write check
Browse files Browse the repository at this point in the history
  • Loading branch information
jahankhan committed Jan 10, 2024
1 parent b32b2ad commit 3fb7b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hlog/hlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}))

Expand Down

0 comments on commit 3fb7b70

Please sign in to comment.