mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-23 16:22:24 +03:00
fix(hosting_service): support Azure DevOps vs-ssh.visualstudio.com SSH remotes
This commit is contained in:
committed by
Stefan Haller
parent
8276d4a50a
commit
a44af0685c
@@ -231,12 +231,8 @@ func TestGetPullRequestURL(t *testing.T) {
|
||||
"vs-ssh.visualstudio.com": "azuredevops:dev.azure.com",
|
||||
},
|
||||
test: func(url string, err error) {
|
||||
/* EXPECTED:
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, "https://dev.azure.com/myorg/myproject/_git/myrepo/pullrequestcreate?sourceRef=feature%2Fnew", url)
|
||||
ACTUAL: */
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, "", url)
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user