93fa093122
Signed-off-by: AdamKorcz <adam@adalogics.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
225 B
Go
15 lines
225 B
Go
package jsonfilelog
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
)
|
|
|
|
func FuzzLoggerDecode(f *testing.F) {
|
|
f.Fuzz(func(t *testing.T, data []byte) {
|
|
dec := decodeFunc(bytes.NewBuffer(data))
|
|
defer dec.Close()
|
|
|
|
_, _ = dec.Decode()
|
|
})
|
|
}
|