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

Struct mockNote

test/helpers_test.go:34–37  ·  view source on GitHub ↗

mockNote implements lint.Note for testing

Source from the content-addressed store, hash-verified

32
33// mockNote implements lint.Note for testing
34type mockNote struct {
35 token string
36 value string
37}
38
39func (n *mockNote) Token() string { return n.token }
40func (n *mockNote) Value() string { return n.value }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected