MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / TestJSONFormatter_Name

Function TestJSONFormatter_Name

test/formatter_test.go:53–58  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

51}
52
53func 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
60func TestJSONFormatter_NoIssues(t *testing.T) {
61 linter := newDefaultLinter(t)

Callers

nothing calls this directly

Calls 1

NameMethod · 0.95

Tested by

no test coverage detected