Increase git url parsing coverage.

This commit is contained in:
jregan
2019-01-27 19:17:52 -08:00
committed by Jeffrey Regan
parent 68ca28879d
commit 3ddc20f72c
3 changed files with 184 additions and 61 deletions

View File

@@ -46,7 +46,7 @@ func ClonerUsingGitExec(spec string) (*RepoSpec, error) {
cmd := exec.Command(
gitProgram,
"clone",
repoSpec.repo,
repoSpec.CloneSpec(),
repoSpec.cloneDir.String())
var out bytes.Buffer
cmd.Stdout = &out