CI: enable bodyclose linter
This commit is contained in:
parent
b1a8fd1d03
commit
bd883caae1
3 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,7 @@ func TestRoundTripperReader(t *testing.T) {
|
|||
test.Assert(t, bytes.Equal(data, out.Bytes()), "data ping-pong failed")
|
||||
}
|
||||
|
||||
// nolint:bodyclose // the http response is just a mock
|
||||
func TestRoundTripperCornerCases(t *testing.T) {
|
||||
limiter := NewStaticLimiter(Limits{42 * 1024, 42 * 1024})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue