| 635 | } |
| 636 | |
| 637 | type mockFinder struct { |
| 638 | called bool |
| 639 | expectSelector string |
| 640 | expectFields []string |
| 641 | pr *api.PullRequest |
| 642 | repo ghrepo.Interface |
| 643 | err error |
| 644 | } |
| 645 | |
| 646 | func (m *mockFinder) Find(opts FindOptions) (*api.PullRequest, ghrepo.Interface, error) { |
| 647 | if m.err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected