super-graph/jsn/fuzz.go

12 lines
130 B
Go
Raw Permalink Normal View History

// +build gofuzz
2019-09-20 06:19:11 +02:00
package jsn
2019-09-20 06:19:11 +02:00
2019-10-26 09:02:05 +02:00
func Fuzz(data []byte) int {
if err := unifiedTest(data); err != nil {
2019-10-26 09:02:05 +02:00
return 0
2019-09-20 06:19:11 +02:00
}
2019-10-26 09:02:05 +02:00
return 1
2019-09-20 06:19:11 +02:00
}