some linting things

This commit is contained in:
Joel Wetzell
2026-05-17 09:25:27 -05:00
parent e7bdeb46ff
commit 145c13a976
4 changed files with 28 additions and 14 deletions
+4 -1
View File
@@ -106,6 +106,9 @@ func BenchmarkChunkDecoding(b *testing.B) {
0x80, 0x01, 0x00, 0x0d, 0x80, 0x00, 0x00, 0x09, 0x00, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x20, 0x31,
}
for b.Loop() {
DecodeChunk(data)
_, err := DecodeChunk(data)
if err != nil {
b.Errorf("failed to decode chunk properly, error: %v", err)
}
}
}