chore: update linter
This commit is contained in:
parent
db515195f0
commit
c5f23493ab
9 changed files with 28 additions and 24 deletions
|
@ -177,7 +177,7 @@ func generateBytes(length int) []byte {
|
|||
}
|
||||
|
||||
func TestRequestReader(t *testing.T) {
|
||||
buff := bytes.NewBuffer([]byte("foo"))
|
||||
buff := bytes.NewBufferString("foo")
|
||||
rr := readCounter{source: io.NopCloser(buff)}
|
||||
assert.Equal(t, int64(0), rr.size)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue