vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
15
vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go
generated
vendored
Normal file
15
vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package fuzz
|
||||
|
||||
import "github.com/andybalholm/cascadia"
|
||||
|
||||
// Fuzz is the entrypoint used by the go-fuzz framework
|
||||
func Fuzz(data []byte) int {
|
||||
sel, err := cascadia.Compile(string(data))
|
||||
if err != nil {
|
||||
if sel != nil {
|
||||
panic("sel != nil on error")
|
||||
}
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue