(t *testing.T)
| 40 | } |
| 41 | |
| 42 | func TestConfig_NewLinter(t *testing.T) { |
| 43 | conf := config.NewDefault() |
| 44 | linter, err := config.NewLinter(conf) |
| 45 | if err != nil { |
| 46 | t.Fatalf("unexpected error: %v", err) |
| 47 | } |
| 48 | if linter == nil { |
| 49 | t.Fatal("expected non-nil linter") |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func TestConfig_GetFormatter(t *testing.T) { |
| 54 | conf := config.NewDefault() |
nothing calls this directly
no test coverage detected