(t *testing.T)
| 16 | ) |
| 17 | |
| 18 | func TestSearcher(t *testing.T) { |
| 19 | f := &cmdutil.Factory{ |
| 20 | Config: func() (gh.Config, error) { |
| 21 | return config.NewBlankConfig(), nil |
| 22 | }, |
| 23 | HttpClient: func() (*http.Client, error) { |
| 24 | return &http.Client{}, nil |
| 25 | }, |
| 26 | } |
| 27 | _, err := Searcher(f) |
| 28 | assert.NoError(t, err) |
| 29 | } |
| 30 | |
| 31 | func TestSearchIssues(t *testing.T) { |
| 32 | var now = time.Date(2022, 2, 28, 12, 30, 0, 0, time.UTC) |
nothing calls this directly
no test coverage detected