mirror of
https://github.com/restic/restic.git
synced 2025-10-09 12:41:58 +00:00
CI: enable bodyclose linter
This commit is contained in:
@@ -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})
|
||||
|
||||
|
Reference in New Issue
Block a user