()
| 886 | } |
| 887 | |
| 888 | func testConfig() func() (gh.Config, error) { |
| 889 | cfg := config.NewMockConfigFromString("hosts:\n github.com:\n oauth_token: gho_a_token_that_can_upload\n") |
| 890 | return func() (gh.Config, error) { return cfg, nil } |
| 891 | } |
| 892 | |
| 893 | func mockCommentCreate(t *testing.T, reg *httpmock.Registry, wantBody string) { |
| 894 | reg.Register( |
no test coverage detected