Fix lint warnings

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-23 00:04:43 +02:00
parent d7f710806b
commit efeaa9b6ad
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -25,8 +25,8 @@ func TestPoissonFunction(t *testing.T) {
} }
for _, test := range tests { for _, test := range tests {
test := test
t.Run(fmt.Sprintf("lam-%d-%d", test.lambdaBase, test.lambdaShift), func(t *testing.T) { t.Run(fmt.Sprintf("lam-%d-%d", test.lambdaBase, test.lambdaShift), func(t *testing.T) {
test := test
b := &bytes.Buffer{} b := &bytes.Buffer{}
b.WriteString("icdf\n") b.WriteString("icdf\n")