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

Function TestIssue_NoInfos

test/rule_test.go:550–555  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

548}
549
550func TestIssue_NoInfos(t *testing.T) {
551 issue := lint.NewIssue("desc only")
552 if len(issue.Infos()) != 0 {
553 t.Errorf("expected 0 infos, got %d", len(issue.Infos()))
554 }
555}
556
557// ============================================================
558// Case rules

Callers

nothing calls this directly

Calls 2

InfosMethod · 0.95
NewIssueFunction · 0.92

Tested by

no test coverage detected