(t *testing.T)
| 115 | } |
| 116 | |
| 117 | func TestConfig_Validate_InvalidSeverity(t *testing.T) { |
| 118 | conf := config.NewDefault() |
| 119 | conf.Severity.Default = "invalid" |
| 120 | errs := config.Validate(conf) |
| 121 | if len(errs) == 0 { |
| 122 | t.Error("expected validation errors for invalid severity") |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | func TestConfig_Validate_InvalidRuleSeverity(t *testing.T) { |
| 127 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected