Chore: Fix random indices for slices in test files (#61884)

* Fix random indices for slices in test files

* Empty commit
This commit is contained in:
Santiago
2023-01-24 15:07:37 -03:00
committed by GitHub
parent 6ab79c4fba
commit e5920c211e
5 changed files with 9 additions and 8 deletions

View File

@ -169,7 +169,7 @@ func TestReduceExecute(t *testing.T) {
func randomReduceFunc() string {
res := mathexp.GetSupportedReduceFuncs()
return res[rand.Intn(len(res)-1)]
return res[rand.Intn(len(res))]
}
func TestResampleCommand_Execute(t *testing.T) {