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

Struct mockNote

test/helpers_test.go:85–88  ·  view source on GitHub ↗

mockNote implements lint.Note for testing

Source from the content-addressed store, hash-verified

83
84// mockNote implements lint.Note for testing
85type mockNote struct {
86 token string
87 value string
88}
89
90func (n *mockNote) Token() string { return n.token }
91func (n *mockNote) Value() string { return n.value }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected