MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / TestDefaultLint

Function TestDefaultLint

config/default_test.go:9–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestDefaultLint(t *testing.T) {
10 defConf := NewDefault()
11 _, err := NewLinter(defConf)
12 if err != nil {
13 t.Error("default lint creation failed", err)
14 return
15 }
16}
17
18func TestDefaultSettings(t *testing.T) {
19 defConf := NewDefault()

Callers

nothing calls this directly

Calls 3

NewDefaultFunction · 0.85
NewLinterFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected