(t *testing.T)
| 106 | } |
| 107 | |
| 108 | func TestConfig_Validate_EmptyFormatter(t *testing.T) { |
| 109 | conf := config.NewDefault() |
| 110 | conf.Formatter = "" |
| 111 | errs := config.Validate(conf) |
| 112 | if len(errs) == 0 { |
| 113 | t.Error("expected validation errors for empty formatter") |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | func TestConfig_Validate_InvalidSeverity(t *testing.T) { |
| 118 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected