1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +00:00
Files
go-chasquid-smtp/internal/normalize/fuzz.go
Alberto Bertogli 5bb17c7066 Update build tag constraints
This patch updates all build tag constraints to add the new format,
alongside the old one, to maintain backwards compatibility.

This was done by using `go fmt`.

See https://go.dev/doc/go1.17#gofmt and
https://golang.org/design/draft-gobuild for more details.
2022-08-08 17:52:34 +01:00

17 lines
205 B
Go

// Fuzz testing for package normalize.
//go:build gofuzz
// +build gofuzz
package normalize
func Fuzz(data []byte) int {
s := string(data)
User(s)
Domain(s)
Addr(s)
DomainToUnicode(s)
return 0
}