Skip to content

Commit

Permalink
Resolve unused errors (SA4006)
Browse files Browse the repository at this point in the history
  • Loading branch information
echlebek committed Feb 23, 2024
1 parent 8f8ed5b commit ff5b622
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/serverimpl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ func TestServerHonoursClientRequestContentEncoding(t *testing.T) {
require.NoError(t, err)

req, err := http.NewRequest("POST", "http://"+settings.ListenEndpoint+settings.ListenPath, bytes.NewReader(b))
require.NoError(t, err)
req.Header.Set(headerContentType, contentTypeProtobuf)
req.Header.Set(headerContentEncoding, contentEncodingGzip)
resp, err := hc.Do(req)
Expand Down Expand Up @@ -700,6 +701,7 @@ func TestServerHonoursAcceptEncoding(t *testing.T) {
b, err := proto.Marshal(&sendMsg)
require.NoError(t, err)
req, err := http.NewRequest("POST", "http://"+settings.ListenEndpoint+settings.ListenPath, bytes.NewReader(b))
require.NoError(t, err)
req.Header.Set(headerContentType, contentTypeProtobuf)
req.Header.Set(headerAcceptEncoding, contentEncodingGzip)
resp, err := hc.Do(req)
Expand Down

0 comments on commit ff5b622

Please sign in to comment.