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

Function TestIgnore_DefaultConfigHasPatterns

test/ignore_test.go:302–307  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

300}
301
302func TestIgnore_DefaultConfigHasPatterns(t *testing.T) {
303 conf := config.NewDefault()
304 if len(conf.DefaultIgnorePatterns) == 0 {
305 t.Fatal("expected default config to have default ignore patterns")
306 }
307}
308
309func TestIgnore_EffectiveIgnorePatterns(t *testing.T) {
310 conf := config.NewDefault()

Callers

nothing calls this directly

Calls 1

NewDefaultFunction · 0.92

Tested by

no test coverage detected