diff options
Diffstat (limited to 'vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go')
-rw-r--r-- | vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go b/vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go deleted file mode 100644 index 82202e1c..00000000 --- a/vendor/github.com/thoj/go-ircevent/irc_test_fuzz.go +++ /dev/null @@ -1,14 +0,0 @@ -// +build gofuzz - -package irc - -func Fuzz(data []byte) int { - b := bytes.NewBuffer(data) - event, err := parseToEvent(b.String()) - if err == nil { - irc := IRC("go-eventirc", "go-eventirc") - irc.RunCallbacks(event) - return 1 - } - return 0 -} |