package mailhtml import "testing" // The inliner and the text renderer run on every send that carries a // stylesheet, on markup the sender pasted from somewhere else. A panic here // would take down a worker mid-send, so neither may ever do worse than return // the body it was given. func FuzzInlineCSS(f *testing.F) { f.Add(`
hi
`) f.Add(`x`) f.Add(``) f.Add(`x
`) f.Add(`x
`) f.Add(``) f.Add("") // The two inputs that found real bugs. Seeds run on every `go test`, so // they guard the fixes even where the fuzzer itself is not run: a sheet // the parser cannot read must not be deleted, and a body whose case fold // changes its length must not move the insertion point. f.Add("hi
") f.Add("\xa4\xa4\xa4\xa4\u0130stanbul