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

Function TestIgnore_DefaultPatternsExist

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

Source from the content-addressed store, hash-verified

293}
294
295func TestIgnore_DefaultPatternsExist(t *testing.T) {
296 patterns := config.DefaultIgnorePatterns()
297 if len(patterns) == 0 {
298 t.Fatal("expected default ignore patterns to be non-empty")
299 }
300}
301
302func TestIgnore_DefaultConfigHasPatterns(t *testing.T) {
303 conf := config.NewDefault()

Callers

nothing calls this directly

Calls 1

DefaultIgnorePatternsFunction · 0.92

Tested by

no test coverage detected