(hostname string)
| 21 | } |
| 22 | |
| 23 | func (gf *gitCredentialsConfigurerSpy) ConfigureOurs(hostname string) error { |
| 24 | gf.hosts = append(gf.hosts, hostname) |
| 25 | return gf.setupErr |
| 26 | } |
| 27 | |
| 28 | func TestNewCmdSetupGit(t *testing.T) { |
| 29 | tests := []struct { |
nothing calls this directly
no outgoing calls
no test coverage detected