Add fuzz testing to 'serv' for the GQL hash parser

This commit is contained in:
Vikram Rangnekar
2019-10-26 15:43:40 -04:00
parent c74226208d
commit 4a8af69dd0
7 changed files with 53 additions and 42 deletions

View File

@ -2,7 +2,6 @@ package jsn
import "bytes"
// FuzzerEntrypoint for Fuzzbuzz
func Fuzz(data []byte) int {
err1 := Validate(string(data))

View File

@ -3,7 +3,6 @@ package jsn
import "testing"
func TestFuzzCrashers(t *testing.T) {
var crashers = []string{
"00\"0000\"0{",
"6\",\n\t\t\t\"something\": " +