(f *testing.F)
| 70 | }` |
| 71 | |
| 72 | func 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 | |
| 79 | func TestInvalidConfig(t *testing.T) { |
| 80 | err := Validate(&Config{ |
nothing calls this directly
no test coverage detected