Skip to content

Commit

Permalink
Show change vs master on accepted but invalid ssh-like urls
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Jan 7, 2023
1 parent ae3e30b commit 250fc83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/internal/git/repospec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ func TestNewRepoSpecFromUrl_Smoke(t *testing.T) {
cloneSpec: "git@scp://github.com/org/repo.git",
absPath: notCloned.Join("path"),
repoSpec: RepoSpec{
Host: "git@scp:/",
OrgRepo: "/github.com/org/repo",
Host: "git@scp:",
OrgRepo: "//github.com/org/repo",
Path: "/path",
GitSuffix: ".git",
},
Expand All @@ -530,8 +530,8 @@ func TestNewRepoSpecFromUrl_Smoke(t *testing.T) {
cloneSpec: "git@ssh://github.com/org/repo.git",
absPath: notCloned.Join("path"),
repoSpec: RepoSpec{
Host: "git@ssh:/",
OrgRepo: "/github.com/org/repo",
Host: "git@ssh:",
OrgRepo: "//github.com/org/repo",
Path: "/path",
GitSuffix: ".git",
},
Expand Down

0 comments on commit 250fc83

Please sign in to comment.