mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-08-20 22:49:21 +00:00
some linting things
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user