(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestDefaultConfig(t *testing.T) { |
| 10 | conf := provideDefaultConfig() |
| 11 | for _, c := range conf { |
| 12 | if c.Validate != nil { |
| 13 | err := c.Validate(c.Data) |
| 14 | assert.NoError(t, err) |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func TestDefaultConfig_invalid(t *testing.T) { |
| 20 | conf := provideDefaultConfig() |
nothing calls this directly
no test coverage detected