(t *testing.T)
| 77 | } |
| 78 | |
| 79 | func TestConfig_GetFormatterUnknown(t *testing.T) { |
| 80 | conf := config.NewDefault() |
| 81 | conf.Formatter = "unknown" |
| 82 | _, err := config.GetFormatter(conf) |
| 83 | if err == nil { |
| 84 | t.Error("expected error for unknown formatter") |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | func TestConfig_Validate_Valid(t *testing.T) { |
| 89 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected