MCPcopy
hub / github.com/sqlc-dev/sqlc / FuzzOverride

Function FuzzOverride

internal/codegen/golang/opts/override_test.go:103–117  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

101}
102
103func FuzzOverride(f *testing.F) {
104 for _, spec := range []string{
105 "string",
106 "github.com/gofrs/uuid.UUID",
107 "github.com/segmentio/ksuid.KSUID",
108 } {
109 f.Add(spec)
110 }
111 f.Fuzz(func(t *testing.T, s string) {
112 o := Override{
113 GoType: GoType{Spec: s},
114 }
115 o.parse(nil)
116 })
117}

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
AddMethod · 0.45

Tested by

no test coverage detected