mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 07:32:13 +08:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user