diff --git a/api/test/window_post.go b/api/test/window_post.go index 8f5c4db75..a9a465b74 100644 --- a/api/test/window_post.go +++ b/api/test/window_post.go @@ -121,6 +121,7 @@ func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSector 162, // while sealing 5000, // while proving } { + height := height // copy to satisfy lints t.Run(fmt.Sprintf("upgrade-%d", height), func(t *testing.T) { testWindowPostUpgrade(t, b, blocktime, nSectors, height) })