lib/bytesutil: go fmt after 2ec17bed2c

This commit is contained in:
Aliaksandr Valialkin 2023-05-10 15:53:58 -07:00
parent 86424e079e
commit da037cafc5
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -9,7 +9,7 @@ func BenchmarkToUnsafeString(b *testing.B) {
buf := []byte("foobarbaz abcde fafdsfds")
b.ReportAllocs()
b.SetBytes(int64(len(buf)))
b.RunParallel(func (pb *testing.PB) {
b.RunParallel(func(pb *testing.PB) {
n := 0
for pb.Next() {
for i := range buf {
@ -25,7 +25,7 @@ func BenchmarkToUnsafeBytes(b *testing.B) {
s := "foobarbaz abcde fafdsfds"
b.ReportAllocs()
b.SetBytes(int64(len(s)))
b.RunParallel(func (pb *testing.PB) {
b.RunParallel(func(pb *testing.PB) {
n := 0
for pb.Next() {
for i := range s {