forked from TrueCloudLab/distribution
9337b8df66
Signed-off-by: AdamKorcz <adam@adalogics.com>
15 lines
273 B
Go
15 lines
273 B
Go
package configuration
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
)
|
|
|
|
// ParserFuzzer implements a fuzzer that targets Parser()
|
|
// nolint:deadcode
|
|
func FuzzConfigurationParse(f *testing.F) {
|
|
f.Fuzz(func(t *testing.T, data []byte) {
|
|
rd := bytes.NewReader(data)
|
|
_, _ = Parse(rd)
|
|
})
|
|
}
|