This commit is contained in:
Robert Vollmert 2015-08-03 13:55:09 +02:00
parent ab77666071
commit f4e2f0812d
1 changed files with 7 additions and 7 deletions

View File

@ -25,12 +25,12 @@ import "bytes"
//
// Further input samples should go in the folder fuzz/corpus.
func Fuzz(in []byte) int {
parser := Parser{}
_, err := parser.TextToMetricFamilies(bytes.NewReader(in))
parser := Parser{}
_, err := parser.TextToMetricFamilies(bytes.NewReader(in))
if err != nil {
return 0
}
if err != nil {
return 0
}
return 1
return 1
}