Update golangci-lint

This commit is contained in:
9seconds
2019-01-24 08:15:56 +03:00
parent 16558a7c55
commit f68b195306
8 changed files with 14 additions and 30 deletions
+3 -3
View File
@@ -78,10 +78,10 @@ func TestFrameGenerateValid(t *testing.T) {
}
for _, test := range validTests {
t.Run(strconv.Itoa(int(test)), func(tt *testing.T) {
frame := generateFrame(test)
frame := generateFrame(test) // nolint: scopelint
conType, err := frame.ConnectionType()
assert.Nil(t, err)
assert.Equal(t, conType, test)
assert.Nil(tt, err)
assert.Equal(tt, conType, test) // nolint: scopelint
})
}
}