This repository has been archived on 2023-05-01. You can view files and clone it, but cannot push or open issues or pull requests.
|
package gemtext_test
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
|
|
"tildegit.org/tjp/gus/gemtext"
|
|
)
|
|
|
|
func FuzzParse(f *testing.F) {
|
|
f.Fuzz(func(t *testing.T, input []byte) {
|
|
if _, err := gemtext.Parse(bytes.NewBuffer(input)); err != nil {
|
|
t.Errorf("Parse error: %s", err.Error())
|
|
}
|
|
})
|
|
}
|