Skip to content

Commit 3e7d2a8

Browse files
committed
fix lint
1 parent 7ab5ca4 commit 3e7d2a8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

integrations/benchmarks_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package integrations
66

77
import (
88
"fmt"
9-
"math/rand"
109
"net/http"
1110
"testing"
1211

@@ -67,15 +66,6 @@ func BenchmarkRepo(b *testing.B) {
6766
}
6867
}
6968

70-
//StringWithCharset random string (from https://www.calhoun.io/creating-random-strings-in-go/)
71-
func StringWithCharset(length int, charset string) string {
72-
b := make([]byte, length)
73-
for i := range b {
74-
b[i] = charset[rand.Intn(len(charset))]
75-
}
76-
return string(b)
77-
}
78-
7969
func BenchmarkRepoBranchCommit(b *testing.B) {
8070
b.Skip("benchmark broken") // TODO fix
8171
samples := []int64{1, 15, 16}

0 commit comments

Comments
 (0)