diff --git a/testing/helper/helper.go b/testing/helper/helper.go index 66fd63a..f1c591d 100644 --- a/testing/helper/helper.go +++ b/testing/helper/helper.go @@ -95,5 +95,5 @@ func RandBool() bool { } func RandInt(from, to int) int { - return from + rand.Intn(to+1) + return from + rand.Intn((to-from)+1) }