mockCommit implements lint.Commit for testing
| 9 | |
| 10 | // mockCommit implements lint.Commit for testing |
| 11 | type mockCommit struct { |
| 12 | message string |
| 13 | header string |
| 14 | body string |
| 15 | footer string |
| 16 | typ string |
| 17 | scope string |
| 18 | description string |
| 19 | notes []lint.Note |
| 20 | breaking bool |
| 21 | } |
| 22 | |
| 23 | func (m *mockCommit) Message() string { return m.message } |
| 24 | func (m *mockCommit) Header() string { return m.header } |
nothing calls this directly
no outgoing calls
no test coverage detected