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

Function TestDefaultFormatter_Name

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

Source from the content-addressed store, hash-verified

9)
10
11func TestDefaultFormatter_Name(t *testing.T) {
12 f := &formatter.DefaultFormatter{}
13 if f.Name() != "default" {
14 t.Errorf("expected 'default', got %q", f.Name())
15 }
16}
17
18func TestDefaultFormatter_NoIssues(t *testing.T) {
19 linter := newDefaultLinter(t)

Callers

nothing calls this directly

Calls 1

NameMethod · 0.95

Tested by

no test coverage detected