diff options
Diffstat (limited to 'vendor/gitlab.com/golang-commonmark/markdown/fuzz.go')
-rw-r--r-- | vendor/gitlab.com/golang-commonmark/markdown/fuzz.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/gitlab.com/golang-commonmark/markdown/fuzz.go b/vendor/gitlab.com/golang-commonmark/markdown/fuzz.go new file mode 100644 index 00000000..66ac7697 --- /dev/null +++ b/vendor/gitlab.com/golang-commonmark/markdown/fuzz.go @@ -0,0 +1,9 @@ +//+build gofuzz + +package markdown + +func Fuzz(data []byte) int { + md := New(HTML(true)) + md.Parse(data) + return 1 +} |