add: new go-fuzz targets

Signed-off-by: Arjun <[email protected]>
This commit is contained in:
Arjun
2024-11-11 20:45:49 +05:30
parent 1f3e3045ad
commit 53c523444e
5 changed files with 67 additions and 0 deletions
+6
View File
@@ -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)
})
}