mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 21:40:02 +00:00
add: new go-fuzz targets
Signed-off-by: Arjun <pkillarjun@protonmail.com>
This commit is contained in:
@@ -72,3 +72,9 @@ func TestAddingSpansWithNilMap(t *testing.T) {
|
||||
// a panic shouldn't occur
|
||||
tr.AddSpans(nil)
|
||||
}
|
||||
|
||||
func FuzzNewIdentity(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, trace string) {
|
||||
_, _ = NewIdentity(trace)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user