(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestConfig_Validate_InvalidFormatter(t *testing.T) { |
| 100 | conf := config.NewDefault() |
| 101 | conf.Formatter = "nonexistent" |
| 102 | errs := config.Validate(conf) |
| 103 | if len(errs) == 0 { |
| 104 | t.Error("expected validation errors for unknown formatter") |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | func TestConfig_Validate_EmptyFormatter(t *testing.T) { |
| 109 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected