Skip to content

Commit

Permalink
goimports fix
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Zaytsev <[email protected]>
  • Loading branch information
colega committed Oct 20, 2021
1 parent c32ff83 commit 34b3170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pool/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ func TestRacePutGet(t *testing.T) {
for i := 0; i < goroutines; i++ {
s.Add(1)
// make sure we start multiple goroutines with same len buf requirements, to hit same pools
s := strings.Repeat(string(byte(i)), i % 10)
s := strings.Repeat(string(byte(i)), i%10)
// some of the goroutines will append more elements to the provided slice
grow := i % 2 == 0
grow := i%2 == 0
go f(s, grow)
}

Expand Down

0 comments on commit 34b3170

Please sign in to comment.