aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rotation_test.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-14 19:01:57 +0100
committerTaras Madan <tarasmadan@google.com>2025-02-17 08:18:57 +0000
commit4121cf9df313ee111c01fde1f255d010c8d941cd (patch)
treedcd0d104c8c35997103297dfb7dc1f0de6b77b8e /prog/rotation_test.go
parent9f05da3db0234203729d2ad179ab5a2f72bf607f (diff)
all: remove loop variables scoping
Diffstat (limited to 'prog/rotation_test.go')
-rw-r--r--prog/rotation_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/prog/rotation_test.go b/prog/rotation_test.go
index 333b66c75..959d8929d 100644
--- a/prog/rotation_test.go
+++ b/prog/rotation_test.go
@@ -27,7 +27,6 @@ func TestRotationResourceless(t *testing.T) {
func TestRotationRandom(t *testing.T) {
target, rs, _ := initTest(t)
for _, ncalls := range []int{10, 100, 1000, 1e9} {
- ncalls := ncalls
rnd := rand.New(rand.NewSource(rs.Int63()))
t.Run(fmt.Sprint(ncalls), func(t *testing.T) {
t.Parallel()