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

Function FuzzConfig

internal/config/config_test.go:72–77  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

70}`
71
72func FuzzConfig(f *testing.F) {
73 f.Add(validConfigOne)
74 f.Fuzz(func(t *testing.T, orig string) {
75 ParseConfig(strings.NewReader(orig))
76 })
77}
78
79func TestInvalidConfig(t *testing.T) {
80 err := Validate(&Config{

Callers

nothing calls this directly

Calls 2

ParseConfigFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected