Skip to content

Commit c006fc1

Browse files
authored
tests: remove superflous WriteHeader call from buffer tests (#246)
1 parent c232cee commit c006fc1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

buffer/buffer_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ func TestBuffer_GRPC_OKResponse(t *testing.T) {
417417
srv := testutils.NewHandler(func(w http.ResponseWriter, _ *http.Request) {
418418
w.Header().Set("Grpc-Status", "0" /* OK */)
419419
_, _ = w.Write([]byte("grpc-body"))
420-
w.WriteHeader(http.StatusOK)
421420

422421
// To skip the "Content-Length" header.
423422
w.(http.Flusher).Flush()

0 commit comments

Comments
 (0)