diff --git a/chain/types/electionproof_test.go b/chain/types/electionproof_test.go index cc930bdf6..4303a1783 100644 --- a/chain/types/electionproof_test.go +++ b/chain/types/electionproof_test.go @@ -25,8 +25,8 @@ func TestPoissonFunction(t *testing.T) { } for _, test := range tests { + test := test t.Run(fmt.Sprintf("lam-%d-%d", test.lambdaBase, test.lambdaShift), func(t *testing.T) { - test := test b := &bytes.Buffer{} b.WriteString("icdf\n")