(t *testing.T)
| 153 | } |
| 154 | |
| 155 | func TestConfig_Validate_ValidIgnorePattern(t *testing.T) { |
| 156 | conf := config.NewDefault() |
| 157 | conf.IgnorePatterns = []string{`^Merge .*`} |
| 158 | errs := config.Validate(conf) |
| 159 | for _, e := range errs { |
| 160 | t.Errorf("unexpected validation error: %v", e) |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | func TestConfig_WriteCompactTo(t *testing.T) { |
| 165 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected