(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func TestJSONFormatter_Name(t *testing.T) { |
| 54 | f := &formatter.JSONFormatter{} |
| 55 | if f.Name() != "json" { |
| 56 | t.Errorf("expected 'json', got %q", f.Name()) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func TestJSONFormatter_NoIssues(t *testing.T) { |
| 61 | linter := newDefaultLinter(t) |