Skip to content

Commit

Permalink
Fix master
Browse files Browse the repository at this point in the history
Fix RepoSpec build errors as result of merging 2 RepoSpec PRs in parallel
  • Loading branch information
annasong20 committed Jan 23, 2023
1 parent a69092c commit 298b87a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions api/internal/git/repospec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,23 +642,21 @@ func TestNewRepoSpecFromUrl_Smoke(t *testing.T) {
{
name: "ssh on github with custom username for custom ssh certificate authority",
input: "ssh://org-12345@github.com/kubernetes-sigs/kustomize",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize.git",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize",
absPath: notCloned.String(),
repoSpec: RepoSpec{
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
GitSuffix: ".git",
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
},
},
{
name: "scp on github with custom username for custom ssh certificate authority",
input: "org-12345@github.com/kubernetes-sigs/kustomize",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize.git",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize",
absPath: notCloned.String(),
repoSpec: RepoSpec{
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
GitSuffix: ".git",
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
},
},
}
Expand Down

0 comments on commit 298b87a

Please sign in to comment.