We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f48c192 commit f4dd5a3Copy full SHA for f4dd5a3
pkg/testcoverage/badgestorer/github_test.go
@@ -111,11 +111,10 @@ func deleteFile(t *testing.T, cfg Git) {
111
112
func randString() string {
113
letterRunes := []rune("abcdefghijklmnopqrstuvwxyz")
114
- l := len(letterRunes)
115
116
- b := make([]rune, rand.Intn(10))
+ b := make([]rune, 10)
117
for i := range b {
118
- b[i] = letterRunes[rand.Intn(l)]
+ b[i] = letterRunes[rand.Intn(len(letterRunes))]
119
}
120
121
return string(b)
0 commit comments