update linter settings (#840)

This commit is contained in:
Alessandro Ros
2025-07-26 16:28:03 +02:00
committed by GitHub
parent 63f7ffc3e3
commit 1021950db8
48 changed files with 160 additions and 104 deletions

View File

@@ -16,7 +16,8 @@ func TestDecode(t *testing.T) {
require.NoError(t, err)
for _, pkt := range ca.pkts {
image, err := d.Decode(pkt)
var image []byte
image, err = d.Decode(pkt)
if errors.Is(err, ErrMorePacketsNeeded) {
continue
}