chore: update linter
This commit is contained in:
parent
12e50e20e6
commit
553ef94047
46 changed files with 129 additions and 105 deletions
|
@ -165,7 +165,7 @@ func runBenchmark(b *testing.B, size int, req *http.Request, handler http.Handle
|
|||
b.Fatalf("Expected 200 but got %d", code)
|
||||
}
|
||||
|
||||
assert.Equal(b, size, len(recorder.Body.String()))
|
||||
assert.Len(b, recorder.Body.String(), size)
|
||||
}
|
||||
|
||||
func generateBytes(length int) []byte {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue